public class ObjectStream extends Stream
| Modifier and Type | Field and Description |
|---|---|
static Name |
FIRST_KEY |
static Name |
N_KEY |
COLORSPACE_KEY, compressed, CS_KEY, DECODEPARAM_KEY, F_KEY, FILTER_KEY, H_KEY, HEIGHT_KEY, I_KEY, IM_KEY, IMAGEMASK_KEY, INDEXED_KEY, pObjectReference, rawBytes, W_KEY, WIDTH_KEYentries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
ObjectStream(Library l,
java.util.HashMap h,
SeekableInputConstrainedWrapper streamInputWrapper)
Create a new instance of a Stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initiate the Dictionary.
|
java.lang.Object |
loadObject(Library library,
int objectIndex) |
getDecodedByteArrayInputStream, getDecodedStreamBytes, getDecodedStreamBytes, getFilterNames, getNormalisedFilterNames, getPObjectReference, getRawBytes, isImageSubtype, isRawBytesCompressed, setPObjectReference, setRawBytes, toStringgetEntries, getFloat, getInt, getLibrary, getNumber, getObject, isDeleted, isNew, setDeleted, setNewpublic ObjectStream(Library l, java.util.HashMap h, SeekableInputConstrainedWrapper streamInputWrapper)
l - library containing a hash of all document objectsh - HashMap of parameters specific to the Stream object.streamInputWrapper - Accessor to stream byte datapublic void init()
Dictionaryinit in class Dictionarypublic java.lang.Object loadObject(Library library, int objectIndex)