Package org.verapdf.gf.model.impl.cos
Class GFCosStream
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.cos.GFCosObject
org.verapdf.gf.model.impl.cos.GFCosDict
org.verapdf.gf.model.impl.cos.GFCosStream
- Author:
- Timur Kamalov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringType name for GFCosStreamstatic final Stringstatic final StringFields inherited from class org.verapdf.gf.model.impl.cos.GFCosDict
COS_DICT_TYPE, KEYS, METADATA, VALUESFields inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
baseObject, cosDocument, MAX_NUMBER_OF_ELEMENTSFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontrue if spacings around keywords 'endstream' comply to the PDF/A standardgetF()represents value of F key or null if stream does not contain this keyrepresents value of FDecodeParms key or null if stream does not contain this keyrepresents value of FFilter key or null if stream does not contain this keylength of the streamgetLinkedObjects(String link) real length of streamtrue if the spacing around stream complies with the PDF/A requirementsMethods inherited from class org.verapdf.gf.model.impl.cos.GFCosDict
getkeysString, getsizeMethods inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
getFromValueMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.coslayer.CosDict
getkeysString, getsizeMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
FILTERS
- See Also:
-
COS_STREAM_TYPE
Type name for GFCosStream- See Also:
-
F_DECODE_PARMS
- See Also:
-
-
Constructor Details
-
GFCosStream
Default constructor- Parameters:
stream- greenfield COSStream
-
-
Method Details
-
getLength
length of the stream -
getrealLength
Description copied from interface:CosStreamreal length of stream- Specified by:
getrealLengthin interfaceCosStream
-
getF
Description copied from interface:CosStreamrepresents value of F key or null if stream does not contain this key -
getFFilter
Description copied from interface:CosStreamrepresents value of FFilter key or null if stream does not contain this key- Specified by:
getFFilterin interfaceCosStream- Returns:
- string representation of filters for external file
-
getFDecodeParms
Description copied from interface:CosStreamrepresents value of FDecodeParms key or null if stream does not contain this key- Specified by:
getFDecodeParmsin interfaceCosStream- Returns:
- string representation of decode parameters for filters applied to external file
-
getstreamKeywordCRLFCompliant
true if the spacing around stream complies with the PDF/A requirements- Specified by:
getstreamKeywordCRLFCompliantin interfaceCosStream
-
getendstreamKeywordEOLCompliant
Description copied from interface:CosStreamtrue if spacings around keywords 'endstream' comply to the PDF/A standard- Specified by:
getendstreamKeywordEOLCompliantin interfaceCosStream
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGFCosDict- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-