Package cdc.impex
Enum ImpExFactoryFeatures.Hint
- java.lang.Object
-
- java.lang.Enum<ImpExFactoryFeatures.Hint>
-
- cdc.impex.ImpExFactoryFeatures.Hint
-
- All Implemented Interfaces:
Serializable,Comparable<ImpExFactoryFeatures.Hint>
- Enclosing class:
- ImpExFactoryFeatures
public static enum ImpExFactoryFeatures.Hint extends Enum<ImpExFactoryFeatures.Hint>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_CONTENT_VALIDATIONIf enabled, adds content validation if possible.ADD_DATA_COMMENTSIf enabled, adds data comments if possible and meaningful.ADD_HEADER_COMMENTSIf enabled, adds comments to headers if possible.ADD_READMEIf enabled, adds README sections.IGNORE_MISSING_ACTION_COLUMNIf enabled and Action column is missing, continue processing.ODS_FASTIf enabled, uses Fast ODS.ODS_SIMPLEIf enabled, uses ODF Toolkit simple API.POI_STREAMINGIf enabled, uses POI Streaming API.PRETTY_PRINTIf enabled, pretty prints result.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImpExFactoryFeatures.HintvalueOf(String name)Returns the enum constant of this type with the specified name.static ImpExFactoryFeatures.Hint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_HEADER_COMMENTS
public static final ImpExFactoryFeatures.Hint ADD_HEADER_COMMENTS
If enabled, adds comments to headers if possible.Specific to Workbooks.
-
ADD_DATA_COMMENTS
public static final ImpExFactoryFeatures.Hint ADD_DATA_COMMENTS
If enabled, adds data comments if possible and meaningful.
-
ADD_CONTENT_VALIDATION
public static final ImpExFactoryFeatures.Hint ADD_CONTENT_VALIDATION
If enabled, adds content validation if possible.Specific to Workbooks.
-
ADD_README
public static final ImpExFactoryFeatures.Hint ADD_README
If enabled, adds README sections.
-
PRETTY_PRINT
public static final ImpExFactoryFeatures.Hint PRETTY_PRINT
If enabled, pretty prints result.
-
ODS_FAST
public static final ImpExFactoryFeatures.Hint ODS_FAST
If enabled, uses Fast ODS.Specific to Workbooks.
WARNING: This is still experimental and incomplete. Do not use.
-
ODS_SIMPLE
public static final ImpExFactoryFeatures.Hint ODS_SIMPLE
If enabled, uses ODF Toolkit simple API.Specific to Workbooks.
WARNING: This is very slow, but seems to work.
-
POI_STREAMING
public static final ImpExFactoryFeatures.Hint POI_STREAMING
If enabled, uses POI Streaming API.Specific to Workbooks.
This requires less memory, but is not compliant with certain features.
-
IGNORE_MISSING_ACTION_COLUMN
public static final ImpExFactoryFeatures.Hint IGNORE_MISSING_ACTION_COLUMN
If enabled and Action column is missing, continue processing.Specific to Workbooks.
-
-
Method Detail
-
values
public static ImpExFactoryFeatures.Hint[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImpExFactoryFeatures.Hint c : ImpExFactoryFeatures.Hint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImpExFactoryFeatures.Hint valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-