[]
This class reads the file format wrapper that may or may not exist around a valid JPEG 2000 codestream. Since no information from the file format is used in the actual decoding, this class simply goes through the file and finds the first valid codestream.
public class FileFormatReader
Name | Description |
---|---|
FileFormatReader(RandomAccessIO) | The constructor of the FileFormatReader |
Name | Description |
---|---|
JP2FFUsed | Flag indicating whether or not the JP2 file format is used |
Name | Description |
---|---|
CodeStreamPos | This method creates and returns an array of positions to contiguous codestreams in the file |
FirstCodeStreamLength | This method returns the length of the first contiguous codestreams in the file |
FirstCodeStreamPos | This method returns the position of the first contiguous codestreams in the file |
Name | Description |
---|---|
readContiguousCodeStreamBox(long, int, long) | |
readFileFormat() | This method checks whether the given RandomAccessIO is a valid JP2 file and if so finds the first codestream in the file. Currently, the information in the codestream is not used |
readFileTypeBox() | This method reads the File Type box. |
readIntPropertyBox(int) | This method reads the contents of the Intellectual property box |
readJP2HeaderBox(long, int, long) | |
readReaderRequirementsBox(int) | This method reads the contents of the Reader requirements box |
readUUIDBox(int) | This method reads the contents of the Intellectual property box |
readUUIDInfoBox(int) | This method reads the contents of the Intellectual property box |
readXMLBox(int) | This method reads the contents of the XML box |