|
|||||||||
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 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 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 |
Constructor Summary | |
WorkbookSettings()
Default constructor |
Method Summary | |
int |
getArrayGrowSize()
Accessor for the array grow size property |
boolean |
getChartsDisabled()
Gets the charts disabled flag |
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 |
void |
setArrayGrowSize(int sz)
Sets the amount of memory by which to increase the amount of memory allocated to storing the workbook data. |
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 |
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 java.util.Locale locale
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 setLocale(java.util.Locale l)
l
- the localepublic java.util.Locale getLocale()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |