|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer org.apache.wiki.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 Flushable
flush
in class Writer
public 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 Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in class Writer
IOException
public String toString()
toString
in class Object
public boolean isCurrentlyOnLineBegin()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |