Class TiffReader
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryFileParser
-
- org.apache.commons.imaging.formats.tiff.TiffReader
-
public class TiffReader extends BinaryFileParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TiffReader.Listener
-
Constructor Summary
Constructors Constructor Description TiffReader(boolean strict)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
read(ByteSource byteSource, Map<String,Object> params, FormatCompliance formatCompliance, TiffReader.Listener listener)
TiffContents
readContents(ByteSource byteSource, Map<String,Object> params, FormatCompliance formatCompliance)
TiffContents
readDirectories(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance)
TiffContents
readFirstDirectory(ByteSource byteSource, Map<String,Object> params, boolean readImageData, FormatCompliance formatCompliance)
-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Method Detail
-
readFirstDirectory
public TiffContents readFirstDirectory(ByteSource byteSource, Map<String,Object> params, boolean readImageData, FormatCompliance formatCompliance) throws ImageReadException, IOException
- Throws:
ImageReadException
IOException
-
readDirectories
public TiffContents readDirectories(ByteSource byteSource, boolean readImageData, FormatCompliance formatCompliance) throws ImageReadException, IOException
- Throws:
ImageReadException
IOException
-
readContents
public TiffContents readContents(ByteSource byteSource, Map<String,Object> params, FormatCompliance formatCompliance) throws ImageReadException, IOException
- Throws:
ImageReadException
IOException
-
read
public void read(ByteSource byteSource, Map<String,Object> params, FormatCompliance formatCompliance, TiffReader.Listener listener) throws ImageReadException, IOException
- Throws:
ImageReadException
IOException
-
-