| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.imaging.TiffFile
public class TiffFile
Class represents a TIFF image file.
Licensing:
This class is a DynamicPDF Generator Professional Edition
 feature. One of the following licenses is required for non-evaluation usage:
 
| Constructor Summary | |
|---|---|
| TiffFile(byte[] data)Initializes a new instance of the TiffFileclass. | |
| TiffFile(java.lang.String filePath)Initializes a new instance of the TiffFileclass. | |
| Method Summary | |
|---|---|
|  void | close()Closes the stream associated with this object. | 
|  Document | getDocument()Creates a Documentobject that contains the images of the tiff file. | 
|  TiffImageData | getFirstImage()Returns the first image in the TIFF file. | 
|  TiffImageDataList | getImages()Returns a collection of images in the TIFF file. | 
| static boolean | isValid(byte[] header)Returns a value indicating if the provides file header is valid for a TIFF image. | 
| static boolean | isValid(java.lang.String fileExtension)Returns a value indicating if the provides file extension is valid for a TIFF image. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TiffFile(java.lang.String filePath)
         throws java.io.FileNotFoundException
TiffFile class.
ImageParsingException - If TIFF file is invalid.
java.io.FileNotFoundException - If physical file path of the image is not found.filePath - The physical file path of the TIFF.TiffFilepublic TiffFile(byte[] data)
TiffFile class.
ImageParsingException - If TIFF file is invalid.
GeneratorException - If byte array is null.data - The byte array containing the file data.TiffFile| Method Detail | 
|---|
public void close()
public Document getDocument()
Document object that contains the images of the tiff file.
Document object.Documentpublic static boolean isValid(java.lang.String fileExtension)
fileExtension - String value containing file extension.
public static boolean isValid(byte[] header)
header - Contains the image header bytes.
public TiffImageDataList getImages()
public TiffImageData getFirstImage()
| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||