Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright 2012-04-26 Werner Randelshofer
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.monte.media.tiff
Class TIFFOutputStream

    java.lang.Object
      java.io.OutputStream
          org.monte.media.tiff.TIFFOutputStream

All Implemented Interfaces:
  java.io.Closeable, java.io.Flushable

    public class TIFFOutputStream

extends java.io.OutputStream

`TIFFOutputStream`.

References:

TIFF TM Revision 6.0. Final — June 3, 1992. Adobe Systems Inc. http://www.exif.org/specifications.html

Version:
  1.0 2011-02-27 Created.
Author:
  Werner Randelshofer

Constructor Summary
`TIFFOutputStream(javax.imageio.stream.ImageOutputStream out)`

Method Summary
`void` | `close()`
`void` | `finish()`
`java.nio.ByteOrder` | `getByteOrder()`
`long` | `getFirstIFDOffset()`
`long` | `getStreamPosition()`
`void` | `seek(long position)`
`void` | `setByteOrder(java.nio.ByteOrder bo)`
`void` | `setFirstIFDOffset(long newValue)`
`void` | `write(byte[] b, int off, int len)`
`void` | `write(int b)`
`void` | `writeIFD(IFD ifd, long nextIFD)`
`void` | `writeLONG(long v)` Writes a 32-bit unsigned integer.
`void` | `writeSHORT(int v)` Writes a 12-bit unsigned integer.

Methods inherited from class java.io.OutputStream
`flush, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TIFFOutputStream

    public TIFFOutputStream(javax.imageio.stream.ImageOutputStream out)
                     throws java.io.IOException

Throws:
  `java.io.IOException`

Method Detail

### setByteOrder

    public void setByteOrder(java.nio.ByteOrder bo)

### getByteOrder

    public java.nio.ByteOrder getByteOrder()

### getStreamPosition

    public long getStreamPosition()
                           throws java.io.IOException

  Throws:
    `java.io.IOException`

### seek

    public void seek(long position)
              throws java.io.IOException

  Throws:
    `java.io.IOException`

### write

    public void write(int b)
               throws java.io.IOException

  Specified by:
    `write` in class `java.io.OutputStream`
  Throws:
    `java.io.IOException`

### write

    public void write(byte[] b,
                      int off,
                      int len)
               throws java.io.IOException

  Overrides:
    `write` in class `java.io.OutputStream`
  Throws:
    `java.io.IOException`

### writeIFD

    public void writeIFD(IFD ifd,
                         long nextIFD)
                  throws java.io.IOException

  Throws:
    `java.io.IOException`

### getFirstIFDOffset

    public long getFirstIFDOffset()

### setFirstIFDOffset

    public void setFirstIFDOffset(long newValue)

### finish

    public void finish()
                throws java.io.IOException

  Throws:
    `java.io.IOException`

### writeLONG

    public void writeLONG(long v)
                   throws java.io.IOException

  Writes a 32-bit unsigned integer.

  Throws:
    `java.io.IOException`

### writeSHORT

    public void writeSHORT(int v)
                    throws java.io.IOException

  Writes a 12-bit unsigned integer.

  Throws:
    `java.io.IOException`

### close

    public void close()
               throws java.io.IOException

  Specified by:
    `close` in interface `java.io.Closeable`
  Overrides:
    `close` in class `java.io.OutputStream`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright 2012-04-26 Werner Randelshofer
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD