|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.WorkbookSettings
This is a bean which client applications may use to set various advanced workbook properties. Use of this bean is not mandatory, and its absence will merely result in workbooks being read/written using the default settings
Field Summary | |
private int |
arrayGrowSize
The amount of memory allocated to the array containing the workbook data when its current amount is exhausted. |
private boolean |
chartsDisabled
Flag to indicate whether the chart feature is enabled or not Charts deactivated using -Djxl.nocharts=true on the JVM command line Activated by default or by using -Djxl.nocharts=false on the JVM command line |
private static int |
defaultArrayGrowSize
|
private static int |
defaultInitialFileSize
|
private java.lang.String |
encoding
The character encoding used for reading non-unicode strings. |
private FunctionNames |
functionNames
The locale specific function names for this workbook |
private boolean |
gcDisabled
Flag to indicate whether the system hint garbage collection is enabled or not. |
private int |
initialFileSize
The amount of memory allocated to store the workbook data when reading a worksheet. |
private java.util.Locale |
locale
The locale. |
private static java.util.HashMap |
localeFunctionNames
A hash map of function names keyed on locale |
private boolean |
namesDisabled
Flag to indicate whether the name feature is enabled or not Names deactivated using -Djxl.nonames=true on the JVM command line Activated by default or by using -Djxl.nonames=false on the JVM command line |
private boolean |
rationalizationDisabled
Flag to indicate whether the rationalization of cell formats is disabled or not. |
private boolean |
suppressWarnings
Flag to suppress the warnings written to stderr. |
Constructor Summary | |
WorkbookSettings()
Default constructor |
Method Summary | |
int |
getArrayGrowSize()
Accessor for the array grow size property |
boolean |
getChartsDisabled()
Gets the charts disabled flag |
java.lang.String |
getEncoding()
Accessor for the character encoding |
FunctionNames |
getFunctionNames()
Gets the function names. |
boolean |
getGCDisabled()
Accessor for the disabling of garbage collection |
int |
getInitialFileSize()
Accessor for the initial file size property |
java.util.Locale |
getLocale()
Returns the locale used for the spreadsheet |
boolean |
getNamesDisabled()
Accessor for the disabling of interpretation of named ranges |
boolean |
getRationalizationDisabled()
Accessor to retrieve the rationalization flag |
boolean |
getSuppressWarnings()
Accessor to retrieve the suppress warnings flag |
void |
setArrayGrowSize(int sz)
Sets the amount of memory by which to increase the amount of memory allocated to storing the workbook data. |
void |
setEncoding(java.lang.String enc)
Sets the encoding for this workbook |
void |
setInitialFileSize(int sz)
Sets the initial amount of memory allocated to store the workbook data when reading a worksheet. |
void |
setLocale(java.util.Locale l)
Sets the locale for this spreadsheet |
void |
setRationalization(boolean r)
Sets whether or not to rationalize the cell formats before writing out the sheet. |
void |
setSuppressWarnings(boolean w)
Accessor to set the suppress warnings flag |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int initialFileSize
private int arrayGrowSize
private boolean chartsDisabled
private boolean namesDisabled
private boolean gcDisabled
private boolean rationalizationDisabled
private boolean suppressWarnings
private java.util.Locale locale
private FunctionNames functionNames
private java.lang.String encoding
private static java.util.HashMap localeFunctionNames
private static final int defaultInitialFileSize
private static final int defaultArrayGrowSize
Constructor Detail |
public WorkbookSettings()
Method Detail |
public void setArrayGrowSize(int sz)
sz
- the file size in bytespublic int getArrayGrowSize()
public void setInitialFileSize(int sz)
sz
- the file size in bytespublic int getInitialFileSize()
public boolean getChartsDisabled()
public boolean getGCDisabled()
public boolean getNamesDisabled()
public void setRationalization(boolean r)
r
- the rationalization flagpublic boolean getRationalizationDisabled()
public void setSuppressWarnings(boolean w)
w
- the flagpublic boolean getSuppressWarnings()
public void setLocale(java.util.Locale l)
l
- the localepublic java.util.Locale getLocale()
public java.lang.String getEncoding()
public void setEncoding(java.lang.String enc)
enc
- the encodingpublic FunctionNames getFunctionNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |