Package org.verapdf.cos
Class COSStream
java.lang.Object
org.verapdf.cos.COSBase
org.verapdf.cos.COSDirect
org.verapdf.cos.COSDictionary
org.verapdf.cos.COSStream
- Author:
- Timur Kamalov
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.verapdf.cos.COSDictionary
DICTIONARY, SIZE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedprotectedCOSStream(ASInputStream stream) protectedCOSStream(COSDictionary dictionary) protectedCOSStream(COSDictionary dictionary, String string, COSStream.FilterFlags flags) protectedCOSStream(COSDictionary dictionary, ASInputStream stream, COSStream.FilterFlags flags) -
Method Summary
Modifier and TypeMethodDescriptionaccept(ICOSVisitor visitor) voidstatic COSObjectstatic COSObjectstatic COSObjectconstruct(ASInputStream stream) static COSObjectconstruct(COSDictionary dictionary) static COSObjectconstruct(COSDictionary dictionary, String string) static COSObjectconstruct(COSDictionary dictionary, String string, COSStream.FilterFlags flags) static COSObjectconstruct(COSDictionary dictionary, ASInputStream stream) static COSObjectconstruct(COSDictionary dictionary, ASInputStream stream, COSStream.FilterFlags flags) booleangetData()getData(COSStream.FilterFlags filterFlags) longgetType()booleansetData(ASInputStream stream) booleansetData(ASInputStream stream, COSStream.FilterFlags flags) booleansetEndstreamKeywordCRLFCompliant(boolean endstreamKeywordCRLFCompliant) voidvoidsetFilters(COSFilters filters) voidsetIndirectLength(long length) voidsetLength(long length) booleansetRealStreamSize(long realStreamSize) booleansetStreamKeywordCRLFCompliant(boolean streamKeywordCRLFCompliant) toString()Methods inherited from class org.verapdf.cos.COSDictionary
construct, construct, construct, construct, construct, construct, construct, construct, getBooleanKey, getEntrySet, getIntegerKey, getKey, getKeySet, getNameKey, getNameKeyStringValue, getNameKeyUnicodeValue, getRealKey, getStringKey, getValues, knownKey, removeKey, setArrayKey, setArrayKey, setArrayKey, setArrayKey, setBooleanKey, setIntegerKey, setKey, setNameKey, setRealKey, setStringKey, sizeMethods inherited from class org.verapdf.cos.COSDirect
add, at, clearArray, getBoolean, getDirect, getDirectBase, getDocument, getInteger, getKey, getName, getReal, getString, insert, isIndirect, mark, remove, set, setArray, setArray, setArray, setBoolean, setDirect, setInteger, setKey, setName, setReal, setString, setStringMethods inherited from class org.verapdf.cos.COSBase
getObjectKey, setObjectKey
-
Field Details
-
STREAM
- See Also:
-
-
Constructor Details
-
COSStream
protected COSStream() -
COSStream
-
COSStream
-
COSStream
-
COSStream
-
COSStream
-
-
Method Details
-
construct
-
construct
-
construct
-
construct
-
construct
-
construct
public static COSObject construct(COSDictionary dictionary, ASInputStream stream, COSStream.FilterFlags flags) -
construct
-
construct
public static COSObject construct(COSDictionary dictionary, String string, COSStream.FilterFlags flags) -
getType
- Overrides:
getTypein classCOSDictionary
-
accept
- Overrides:
acceptin classCOSDictionary
-
accept
- Overrides:
acceptin classCOSDictionary
-
getData
-
getStringFromTextStream
-
getData
-
setData
-
setData
-
isStreamKeywordCRLFCompliant
- Overrides:
isStreamKeywordCRLFCompliantin classCOSDirect
-
setStreamKeywordCRLFCompliant
public boolean setStreamKeywordCRLFCompliant(boolean streamKeywordCRLFCompliant) - Overrides:
setStreamKeywordCRLFCompliantin classCOSDirect
-
isEndstreamKeywordCRLFCompliant
- Overrides:
isEndstreamKeywordCRLFCompliantin classCOSDirect
-
setEndstreamKeywordCRLFCompliant
public boolean setEndstreamKeywordCRLFCompliant(boolean endstreamKeywordCRLFCompliant) - Overrides:
setEndstreamKeywordCRLFCompliantin classCOSDirect
-
getRealStreamSize
- Overrides:
getRealStreamSizein classCOSDirect
-
setRealStreamSize
public boolean setRealStreamSize(long realStreamSize) - Overrides:
setRealStreamSizein classCOSDirect
-
getFilters
-
setFilters
- Throws:
IOException
-
getFilterFlags
-
setFilterFlags
-
getLength
public long getLength() -
setLength
public void setLength(long length) -
setIndirectLength
public void setIndirectLength(long length) -
equals
- Overrides:
equalsin classCOSDictionary
-
toString
- Overrides:
toStringin classCOSDictionary
-