org.icepdf.core.pobjects
Class ObjectStream

java.lang.Object
  extended by org.icepdf.core.pobjects.Dictionary
      extended by org.icepdf.core.pobjects.Stream
          extended by org.icepdf.core.pobjects.ObjectStream

public class ObjectStream
extends Stream

Since:
2.0
Author:
Mark Collette

Field Summary
static Name FIRST_KEY
           
static Name N_KEY
           
 
Fields inherited from class org.icepdf.core.pobjects.Stream
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_KEY
 
Fields inherited from class org.icepdf.core.pobjects.Dictionary
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY
 
Constructor Summary
ObjectStream(Library l, java.util.HashMap h, SeekableInputConstrainedWrapper streamInputWrapper)
          Create a new instance of a Stream.
 
Method Summary
 void init()
          Initiate the Dictionary.
 java.lang.Object loadObject(Library library, int objectIndex)
           
 
Methods inherited from class org.icepdf.core.pobjects.Stream
getDecodedByteArrayInputStream, getDecodedStreamBytes, getDecodedStreamBytes, getFilterNames, getNormalisedFilterNames, getPObjectReference, getRawBytes, isImageSubtype, isRawBytesCompressed, setPObjectReference, setRawBytes, toString
 
Methods inherited from class org.icepdf.core.pobjects.Dictionary
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, isDeleted, isNew, setDeleted, setNew
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

N_KEY

public static final Name N_KEY

FIRST_KEY

public static final Name FIRST_KEY
Constructor Detail

ObjectStream

public ObjectStream(Library l,
                    java.util.HashMap h,
                    SeekableInputConstrainedWrapper streamInputWrapper)
Create a new instance of a Stream.

Parameters:
l - library containing a hash of all document objects
h - HashMap of parameters specific to the Stream object.
streamInputWrapper - Accessor to stream byte data
Method Detail

init

public void init()
Description copied from class: Dictionary
Initiate the Dictionary. Retrieve any needed attributes.

Overrides:
init in class Dictionary

loadObject

public java.lang.Object loadObject(Library library,
                                   int objectIndex)