Class FilterParams
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.String,java.lang.Object>
-
- com.adobe.internal.pdftoolkit.core.filter.FilterParams
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,java.lang.Object>
public class FilterParams extends java.util.Hashtable<java.lang.String,java.lang.Object>
A class to hold parameters for Stream filters This is just a HashTable, but all the keywords are defined here Modification log: 6/17/98 Marc Kaufman - new Class, Hashtable for parameters- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AvoidInOverrun_K
static java.lang.String
BitsPerComponent_K
static java.lang.String
BlackIs1_K
static java.lang.String
ByteAlign_K
static java.lang.String
CloseSource_K
static java.lang.String
ColorSpace_K
static java.lang.String
Columns_K
static java.lang.String
Components_K
static java.lang.String
CompressionLevel_K
Sets the compression level to use: FlateEncode.Z_NO_COMPRESSION = 0; FlateEncode.Z_BEST_SPEED = 1; FlateEncode.Z_BEST_COMPRESSION = 9; FlateEncode.Z_DEFAULT_COMPRESSION = -1;static java.lang.String
CompressionStrategy_K
Sets the compression strategy to use: FlateEncode.Z_FILTERED = 1; FlateEncode.Z_HUFFMAN_ONLY = 2; FlateEncode.Z_DEFAULT_STRATEGY = 0;static java.lang.String
DamagedRowsBeforeError_K
static java.lang.String
DoEOL_K
static java.lang.String
DoRTC_K
static java.lang.String
EarlyChange_K
static java.lang.String
Height_K
static java.lang.String
JBIG2Globals_K
static java.lang.String
K_K
static java.lang.String
MemoryLevel_K
Sets the amount of memory to use: FlateEncode.MAX_MEM_LEVEL = 9; FlateEncode.DEF_MEM_LEVEL = 8;static java.lang.String
NewlineEvery_K
static java.lang.String
Predictor_K
static java.lang.String
Rows_K
static java.lang.String
UncompressedMode_K
static java.lang.String
Width_K
static java.lang.String
WindowBits_K
Sets the size of the comparison window (2^bits)
-
Constructor Summary
Constructors Constructor Description FilterParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASDictionary
toASDictionary()
CosObject
toCosObject(CosDocument doc)
COnverts-
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, toString, values
-
-
-
-
Field Detail
-
Height_K
public static final java.lang.String Height_K
- See Also:
- Constant Field Values
-
Width_K
public static final java.lang.String Width_K
- See Also:
- Constant Field Values
-
CloseSource_K
public static final java.lang.String CloseSource_K
- See Also:
- Constant Field Values
-
AvoidInOverrun_K
public static final java.lang.String AvoidInOverrun_K
- See Also:
- Constant Field Values
-
Predictor_K
public static final java.lang.String Predictor_K
- See Also:
- Constant Field Values
-
Columns_K
public static final java.lang.String Columns_K
- See Also:
- Constant Field Values
-
Components_K
public static final java.lang.String Components_K
- See Also:
- Constant Field Values
-
BitsPerComponent_K
public static final java.lang.String BitsPerComponent_K
- See Also:
- Constant Field Values
-
EarlyChange_K
public static final java.lang.String EarlyChange_K
- See Also:
- Constant Field Values
-
Rows_K
public static final java.lang.String Rows_K
- See Also:
- Constant Field Values
-
K_K
public static final java.lang.String K_K
- See Also:
- Constant Field Values
-
DamagedRowsBeforeError_K
public static final java.lang.String DamagedRowsBeforeError_K
- See Also:
- Constant Field Values
-
ByteAlign_K
public static final java.lang.String ByteAlign_K
- See Also:
- Constant Field Values
-
DoRTC_K
public static final java.lang.String DoRTC_K
- See Also:
- Constant Field Values
-
DoEOL_K
public static final java.lang.String DoEOL_K
- See Also:
- Constant Field Values
-
BlackIs1_K
public static final java.lang.String BlackIs1_K
- See Also:
- Constant Field Values
-
UncompressedMode_K
public static final java.lang.String UncompressedMode_K
- See Also:
- Constant Field Values
-
ColorSpace_K
public static final java.lang.String ColorSpace_K
- See Also:
- Constant Field Values
-
NewlineEvery_K
public static final java.lang.String NewlineEvery_K
- See Also:
- Constant Field Values
-
JBIG2Globals_K
public static final java.lang.String JBIG2Globals_K
- See Also:
- Constant Field Values
-
CompressionLevel_K
public static final java.lang.String CompressionLevel_K
Sets the compression level to use: FlateEncode.Z_NO_COMPRESSION = 0; FlateEncode.Z_BEST_SPEED = 1; FlateEncode.Z_BEST_COMPRESSION = 9; FlateEncode.Z_DEFAULT_COMPRESSION = -1;- See Also:
- Constant Field Values
-
CompressionStrategy_K
public static final java.lang.String CompressionStrategy_K
Sets the compression strategy to use: FlateEncode.Z_FILTERED = 1; FlateEncode.Z_HUFFMAN_ONLY = 2; FlateEncode.Z_DEFAULT_STRATEGY = 0;- See Also:
- Constant Field Values
-
MemoryLevel_K
public static final java.lang.String MemoryLevel_K
Sets the amount of memory to use: FlateEncode.MAX_MEM_LEVEL = 9; FlateEncode.DEF_MEM_LEVEL = 8;- See Also:
- Constant Field Values
-
WindowBits_K
public static final java.lang.String WindowBits_K
Sets the size of the comparison window (2^bits)- See Also:
- Constant Field Values
-
-
Method Detail
-
toASDictionary
public ASDictionary toASDictionary()
- Returns:
- ASDIctionary representation of the FilterParams
-
toCosObject
public CosObject toCosObject(CosDocument doc) throws PDFCosParseException, PDFIOException, PDFSecurityException
COnverts- Parameters:
doc
-- Returns:
- CosDIctionary representation of the FilterParams
- Throws:
PDFCosParseException
PDFIOException
PDFSecurityException
-
-