|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
com.ecyrd.jspwiki.htmltowiki.WhitespaceTrimWriter
public class WhitespaceTrimWriter
Part of the XHtmlToWikiTranslator.
| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
WhitespaceTrimWriter()
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
boolean |
isCurrentlyOnLineBegin()
Returns true, if the writer is currently writing a line start. |
boolean |
isWhitespaceTrimMode()
Returns true, if this Writer is currently trimming any whitespaces. |
void |
setWhitespaceTrimMode(boolean trimMode)
Set the trimming mode on/off. |
String |
toString()
|
void |
write(char[] arg0,
int arg1,
int arg2)
|
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WhitespaceTrimWriter()
| Method Detail |
|---|
public void flush()
flush in interface Flushableflush in class Writerpublic boolean isWhitespaceTrimMode()
public void setWhitespaceTrimMode(boolean trimMode)
trimMode - True, if you want trimming to be turned on. False otherwise.
public void write(char[] arg0,
int arg1,
int arg2)
throws IOException
write in class WriterIOException
public void close()
throws IOException
close in interface Closeableclose in class WriterIOExceptionpublic String toString()
toString in class Objectpublic boolean isCurrentlyOnLineBegin()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||