public class TextFormatterSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
char |
FILE_SEPARATOR_CHAR |
| Constructor and Description |
|---|
TextFormatterSettings() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPageBreakLine()
Returns page break line that is written at the end of each
page.
|
boolean |
isFileSeparatorsOn()
Returns whether the file separator char should be written at
the end of the file.
|
boolean |
isLineBreaksOn() |
boolean |
isPageBreakLinesOn()
Returns whether the page break line specified using
setPageBreakLine(String)
should be written at the end of each page. |
boolean |
isPageBreaksOn() |
boolean |
isParagraphBreaksOn() |
void |
setFileSeparatorsOn(boolean fileSeparatorsOn)
Specifies whether the file separator char should be written at
the end of the file.
|
void |
setLineBreaksOn(boolean lineBreaksOn) |
void |
setPageBreakLine(String pageBreakLine)
Specifies page break line that is written at the end of each
page.
|
void |
setPageBreakLinesOn(boolean pageBreakLinesOn)
Specifies whether the page break line specified using
setPageBreakLine(java.lang.String)
should be written at the end of each page. |
void |
setPageBreaksOn(boolean pageBreaksOn) |
void |
setParagraphBreaksOn(boolean paragraphBreaksOn) |
public final char FILE_SEPARATOR_CHAR
public boolean isLineBreaksOn()
public void setLineBreaksOn(boolean lineBreaksOn)
public boolean isParagraphBreaksOn()
public void setParagraphBreaksOn(boolean paragraphBreaksOn)
public boolean isPageBreaksOn()
public void setPageBreaksOn(boolean pageBreaksOn)
public boolean isPageBreakLinesOn()
setPageBreakLine(String)
should be written at the end of each page.public void setPageBreakLinesOn(boolean pageBreakLinesOn)
setPageBreakLine(java.lang.String)
should be written at the end of each page.pageBreakLinesOn - true if the page break line is written at the end of
each page; false if otherwisepublic String getPageBreakLine()
public void setPageBreakLine(String pageBreakLine)
pageBreakLine - public boolean isFileSeparatorsOn()
public void setFileSeparatorsOn(boolean fileSeparatorsOn)
fileSeparatorsOn - true if the file separator character should be
written at the end of the file; false if otherwise