|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sanselan.common.BinaryFileFunctions
org.apache.sanselan.common.BinaryFileParser
org.apache.sanselan.formats.jpeg.segments.Segment
org.apache.sanselan.formats.jpeg.segments.GenericSegment
public abstract class GenericSegment
Field Summary | |
---|---|
byte[] |
bytes
|
Fields inherited from class org.apache.sanselan.formats.jpeg.segments.Segment |
---|
length, marker |
Fields inherited from class org.apache.sanselan.common.BinaryFileFunctions |
---|
debug |
Fields inherited from interface org.apache.sanselan.common.BinaryConstants |
---|
BYTE_ORDER_BIG_ENDIAN, BYTE_ORDER_INTEL, BYTE_ORDER_LEAST_SIGNIFICANT_BYTE, BYTE_ORDER_LITTLE_ENDIAN, BYTE_ORDER_LSB, BYTE_ORDER_MOST_SIGNIFICANT_BYTE, BYTE_ORDER_MOTOROLA, BYTE_ORDER_MSB, BYTE_ORDER_NETWORK |
Constructor Summary | |
---|---|
GenericSegment(int marker,
byte[] bytes)
|
|
GenericSegment(int marker,
int marker_length,
java.io.InputStream is)
|
Method Summary | |
---|---|
void |
dump(java.io.PrintWriter pw)
|
void |
dump(java.io.PrintWriter pw,
int start)
|
Methods inherited from class org.apache.sanselan.formats.jpeg.segments.Segment |
---|
getDescription, getSegmentType, toString |
Methods inherited from class org.apache.sanselan.common.BinaryFileParser |
---|
byteArrayHasPrefix, convertByteArrayToInt, convertByteArrayToInt, convertByteArrayToShort, convertByteArrayToShort, getByteOrder, int2ToByteArray, read2Bytes, read3Bytes, read4Bytes, setByteOrder, setByteOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final byte[] bytes
Constructor Detail |
---|
public GenericSegment(int marker, int marker_length, java.io.InputStream is) throws ImageReadException, java.io.IOException
ImageReadException
java.io.IOException
public GenericSegment(int marker, byte[] bytes) throws ImageReadException, java.io.IOException
ImageReadException
java.io.IOException
Method Detail |
---|
public void dump(java.io.PrintWriter pw)
dump
in class Segment
public void dump(java.io.PrintWriter pw, int start)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |