Package org.verapdf.features.gf.tools
Class GFAdapterHelper
java.lang.Object
org.verapdf.features.gf.tools.GFAdapterHelper
Helps in creating similar nodes in different features objects
- Author:
- Maksim Bezrukov
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetStringFromASAtom(ASAtom asAtom) static StringgetStringFromCOSObject(COSObject object) static byte[]Generates byte array with contents of a stream
-
Method Details
-
inputStreamToByteArray
Generates byte array with contents of a stream- Parameters:
is- input stream for converting- Returns:
- byte array with contents of a stream
- Throws:
IOException- If the first byte cannot be read for any reason other than end of file, or if the input stream has been closed, or if some other I/O error occurs.
-
getStringFromASAtom
-
getStringFromCOSObject
-