Class InternalNode
java.lang.Object
org.apache.pdfbox.jbig2.decoder.huffman.Node
org.apache.pdfbox.jbig2.decoder.huffman.InternalNode
This class represents an internal node of a huffman tree. It contains two child nodes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected long
decode
(ImageInputStream iis) private void
pad
(StringBuilder sb) toString()
-
Field Details
-
depth
private final int depth -
zero
-
one
-
-
Constructor Details
-
InternalNode
protected InternalNode() -
InternalNode
protected InternalNode(int depth)
-
-
Method Details
-
append
-
decode
- Specified by:
decode
in classNode
- Throws:
IOException
-
toString
-
pad
-