java.lang.Object
java.io.OutputStream
org.monte.media.tiff.TIFFOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
TIFFOutputStream.
References:
TIFF TM Revision 6.0. Final — June 3, 1992. Adobe Systems Inc. http://www.exif.org/specifications.html
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidfinish()longlongvoidseek(long position) voidvoidsetFirstIFDOffset(long newValue) voidwrite(byte[] b, int off, int len) voidwrite(int b) voidvoidwriteLONG(long v) Writes a 32-bit unsigned integer.voidwriteSHORT(int v) Writes a 12-bit unsigned integer.Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
TIFFOutputStream
- Throws:
IOException
-
-
Method Details
-
setByteOrder
-
getByteOrder
-
getStreamPosition
- Throws:
IOException
-
seek
- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
writeIFD
- Throws:
IOException
-
getFirstIFDOffset
public long getFirstIFDOffset() -
setFirstIFDOffset
public void setFirstIFDOffset(long newValue) -
finish
- Throws:
IOException
-
writeLONG
Writes a 32-bit unsigned integer.- Throws:
IOException
-
writeSHORT
Writes a 12-bit unsigned integer.- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-