Package com.itextpdf.text.pdf
Class PdfSmartCopy.ByteStore
java.lang.Object
com.itextpdf.text.pdf.PdfSmartCopy.ByteStore
- Enclosing class:
- PdfSmartCopy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
calculateHash
(byte[] b) boolean
int
hashCode()
private void
private void
serDic
(PdfDictionary dic, int level, ByteBuffer bb, HashMap<RefKey, Integer> serialized) private void
-
Field Details
-
b
private final byte[] b -
hash
private final int hash -
md5
-
-
Constructor Details
-
ByteStore
ByteStore(PRStream str, HashMap<RefKey, Integer> serialized) throws IOException- Throws:
IOException
-
ByteStore
ByteStore(PdfDictionary dict, HashMap<RefKey, Integer> serialized) throws IOException- Throws:
IOException
-
-
Method Details
-
serObject
private void serObject(PdfObject obj, int level, ByteBuffer bb, HashMap<RefKey, Integer> serialized) throws IOException- Throws:
IOException
-
serDic
private void serDic(PdfDictionary dic, int level, ByteBuffer bb, HashMap<RefKey, Integer> serialized) throws IOException- Throws:
IOException
-
serArray
private void serArray(PdfArray array, int level, ByteBuffer bb, HashMap<RefKey, Integer> serialized) throws IOException- Throws:
IOException
-
calculateHash
private static int calculateHash(byte[] b) -
equals
-
hashCode
public int hashCode()
-