Packages

 

com.aspose.cad.fileformats.tiff.filemanagement

Class TiffStreamWriter

  • java.lang.Object
    • com.aspose.cad.fileformats.tiff.filemanagement.TiffStreamWriter


  • public class TiffStreamWriter
    extends Object

    Tiff stream writer.

    • Constructor Summary

      Constructors 
      Constructor and Description
      TiffStreamWriter(StreamContainer writer)
      Initializes a new instance of the TiffStreamWriter class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      long getPosition()
      Gets or sets the stream position.
      void setPosition(long value)
      Gets or sets the stream position.
      void write(byte[] data)
      Writes the specified data.
      void write(byte[] data, int offset, int dataLength)
      Writes the specified data.
      void writeDouble(double data)
      Writes a single double value to the stream.
      void writeDoubleArray(double[] data)
      Writes an array of double values to the stream.
      void writeFloat(float data)
      Writes a single float value to the stream.
      void writeFloatArray(float[] data)
      Writes an array of float values to the stream.
      void writeRational(TiffRational data)
      Writes a single rational number value to the stream.
      void writeRationalArray(TiffRational[] data)
      Writes an array of unsigned rational values to the stream.
      void writeSByte(byte data)
      Writes a single signed byte value to the stream.
      void writeSByteArray(byte[] data)
      Writes an array of signed byte values to the stream.
      void writeSlong(int data)
      Writes a single integer value to the stream.
      void writeSLongArray(int[] data)
      Writes an array of integer values to the stream.
      void writeSRational(TiffSRational data)
      Writes a single signed rational number value to the stream.
      void writeSRationalArray(TiffSRational[] data)
      Writes an array of signed rational values to the stream.
      void writeSShort(short data)
      Writes a single short value to the stream.
      void writeSShortArray(short[] data)
      Writes an array of short values to the stream.
      void writeUByte(byte data)
      Writes a single byte value to the stream.
      void writeULong(long data)
      Writes a single unsigned integer value to the stream.
      void writeULongArray(long[] data)
      Writes an array of unsigned integer values to the stream.
      void writeUShort(int data)
      Writes a single unsigned short value to the stream.
      void writeUShortArray(int[] data)
      Writes an array of unsigned short values to the stream.
    • Constructor Detail

      • TiffStreamWriter

        public TiffStreamWriter(StreamContainer writer)

        Initializes a new instance of the TiffStreamWriter class.

        Parameters:
        writer - The stream writer.
    • Method Detail

      • getPosition

        public long getPosition()

        Gets or sets the stream position.

        Returns:
        The stream position.
      • setPosition

        public void setPosition(long value)

        Gets or sets the stream position.

        Parameters:
        value - The stream position.
      • write

        public void write(byte[] data,
                 int offset,
                 int dataLength)

        Writes the specified data.

        Parameters:
        data - The data to write.
        offset - The data offset.
        dataLength - Length of the data to writer.
      • write

        public void write(byte[] data)

        Writes the specified data.

        Parameters:
        data - The data to write.
      • writeDouble

        public void writeDouble(double data)

        Writes a single double value to the stream.

        Parameters:
        data - The value to write.
      • writeDoubleArray

        public void writeDoubleArray(double[] data)

        Writes an array of double values to the stream.

        Parameters:
        data - The array to write.
      • writeFloat

        public void writeFloat(float data)

        Writes a single float value to the stream.

        Parameters:
        data - The value to write.
      • writeFloatArray

        public void writeFloatArray(float[] data)

        Writes an array of float values to the stream.

        Parameters:
        data - The array to write.
      • writeRational

        public void writeRational(TiffRational data)

        Writes a single rational number value to the stream.

        Parameters:
        data - The value to write.
      • writeSRational

        public void writeSRational(TiffSRational data)

        Writes a single signed rational number value to the stream.

        Parameters:
        data - The value to write.
      • writeRationalArray

        public void writeRationalArray(TiffRational[] data)

        Writes an array of unsigned rational values to the stream.

        Parameters:
        data - The array to write.
      • writeSRationalArray

        public void writeSRationalArray(TiffSRational[] data)

        Writes an array of signed rational values to the stream.

        Parameters:
        data - The array to write.
      • writeSByte

        public void writeSByte(byte data)

        Writes a single signed byte value to the stream.

        Parameters:
        data - The value to write.
      • writeSByteArray

        public void writeSByteArray(byte[] data)

        Writes an array of signed byte values to the stream.

        Parameters:
        data - The array to write.
      • writeSLongArray

        public void writeSLongArray(int[] data)

        Writes an array of integer values to the stream.

        Parameters:
        data - The array to write.
      • writeSShort

        public void writeSShort(short data)

        Writes a single short value to the stream.

        Parameters:
        data - The value to write.
      • writeSShortArray

        public void writeSShortArray(short[] data)

        Writes an array of short values to the stream.

        Parameters:
        data - The array to write.
      • writeSlong

        public void writeSlong(int data)

        Writes a single integer value to the stream.

        Parameters:
        data - The value to write.
      • writeUByte

        public void writeUByte(byte data)

        Writes a single byte value to the stream.

        Parameters:
        data - The value to write.
      • writeULong

        public void writeULong(long data)

        Writes a single unsigned integer value to the stream.

        Parameters:
        data - The value to write.
      • writeULongArray

        public void writeULongArray(long[] data)

        Writes an array of unsigned integer values to the stream.

        Parameters:
        data - The array to write.
      • writeUShort

        public void writeUShort(int data)

        Writes a single unsigned short value to the stream.

        Parameters:
        data - The value to write.
      • writeUShortArray

        public void writeUShortArray(int[] data)

        Writes an array of unsigned short values to the stream.

        Parameters:
        data - The array to write.