|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.bean.TextParameter
public class TextParameter
| Constructor Summary | |
|---|---|
TextParameter()
|
|
| Method Summary | |
|---|---|
TextParameter |
copy()
add this method for MailInformation can clone this object |
char |
getDelimiter()
get the delimiter |
int |
getResolution()
get the resolution |
int |
getUDCHHeight()
get the user defined char height |
int |
getUDCHWidth()
get the user defined char width |
boolean |
isCompress()
get the flag that index whether comprss when export to text, the default value is false |
boolean |
IsForMail()
get the flag whether produce the file for mail body |
boolean |
isForWinExport()
get the flag that index whether export to windows system or not |
boolean |
isHasHeadFoot()
get the flag that index whether include the header and footer when export to text |
boolean |
isNormalTextFile()
get the flag that index whether export to normal text or not |
boolean |
isRepeat()
get the flag that index whether reapeat above line content if the column content is null |
boolean |
isUseDelimiter()
use the delimiter to delimt each column |
boolean |
isUseQuoteMark()
get use quote mark flag |
void |
setCompress(boolean isCompress)
set the flag that index whether compress when export to text, the default value is false |
void |
setDelimiter(char delimiter)
set the delimiter, when export to SDF file need it, if the delimiter is null, please do not invoke it |
void |
setForMail(boolean forMail)
set the flag whether produce the text file for email body |
void |
setForWinExport(boolean forWin)
set the flag that index whether export to windows system or not, the defalut is for windows system |
void |
setHasHeadFoot(boolean hasHeadFoot)
set the flag that index whether include the header and footer when export to text default value is true |
void |
setNormalTextFile(boolean isNormalText)
set the flag that index whether export to normal text or not, the default value is true |
void |
setRepeat(boolean isRepeat)
set the flag that index whether reapeat above line content if the column content is null |
void |
setResolution(int resolution)
set the resolution when export to text, may be 96 or 72 etc. |
void |
setUDCHHeight(int udchHeight)
set the user defined char height |
void |
setUDCHWidth(int udchWidth)
set the user defined char width |
void |
setUseQuoteMark(boolean useQuoteMark)
set the falg that index whether use quote mark or not |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextParameter()
| Method Detail |
|---|
public void setNormalTextFile(boolean isNormalText)
isNormalText - the flag whether it is normal format text or notpublic boolean isNormalTextFile()
public void setHasHeadFoot(boolean hasHeadFoot)
hasHeadFoot - the flag whether export the header and footer to file or notpublic boolean isHasHeadFoot()
public void setCompress(boolean isCompress)
isCompress - the flag whether compress or not
Notice: the compress processor does not work gratifying, so strongly advise set the flag
as falsepublic boolean isCompress()
public void setResolution(int resolution)
resolution - the resolution to convert the Unit to pixelpublic int getResolution()
public void setForWinExport(boolean forWin)
forWin - the flag whether export to the windows system result or notpublic boolean isForWinExport()
public void setDelimiter(char delimiter)
delimiter - the delimiter of each data for Delimiter format text file
Notice: only for SDF text exportpublic boolean isUseDelimiter()
public char getDelimiter()
public void setRepeat(boolean isRepeat)
isRepeat - the flag whether reapeat above line content if the column content is null
Notice: only for SDF filepublic boolean isRepeat()
public void setForMail(boolean forMail)
forMail - the flag whether the result is for mail body or notpublic boolean IsForMail()
public void setUseQuoteMark(boolean useQuoteMark)
useQuoteMark - the flag whether use the quote mark for data or not
Notice: only for SDF text file exportpublic boolean isUseQuoteMark()
public void setUDCHWidth(int udchWidth)
udchWidth - the user defined char width
Notice: if the udchHeight also bigger than zero, the width value must less 11, otherwise the value will cann't
has any affect
Notice: only for export normal text filepublic int getUDCHWidth()
public void setUDCHHeight(int udchHeight)
udchHeight - the user defined char height
Notice: only for export normal text filepublic int getUDCHHeight()
public TextParameter copy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||