TiffStreamWriter

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.internal.interfaces.ISynchronizable

public class TiffStreamWriter implements ISynchronizable

Tiff stream writer.

Constructors

ConstructorDescription
TiffStreamWriter(StreamContainer writer)Initializes a new instance of the TiffStreamWriter class.

Methods

MethodDescription
equals(Object arg0)
getClass()
getPosition()Gets or sets the stream position.
getSyncRoot()Gets an object that can be used to synchronize access to the synchronized resource.
hashCode()
notify()
notifyAll()
setPosition(long value)Gets or sets the stream position.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
write(byte[] data)Writes the specified data.
write(byte[] data, int offset, int dataLength)Writes the specified data.
writeDouble(double data)Writes a single double value to the stream.
writeDoubleArray(double[] data)Writes an array of double values to the stream.
writeFloat(float data)Writes a single float value to the stream.
writeFloatArray(float[] data)Writes an array of float values to the stream.
writeRational(TiffRational data)Writes a single rational number value to the stream.
writeRationalArray(TiffRational[] data)Writes an array of unsigned rational values to the stream.
writeSByte(byte data)Writes a single signed byte value to the stream.
writeSByteArray(byte[] data)Writes an array of signed byte values to the stream.
writeSLongArray(int[] data)Writes an array of integer values to the stream.
writeSRational(TiffSRational data)Writes a single signed rational number value to the stream.
writeSRationalArray(TiffSRational[] data)Writes an array of signed rational values to the stream.
writeSShort(short data)Writes a single short value to the stream.
writeSShortArray(short[] data)Writes an array of short values to the stream.
writeSlong(int data)Writes a single integer value to the stream.
writeUByte(byte data)Writes a single byte value to the stream.
writeULong(long data)Writes a single unsigned integer value to the stream.
writeULongArray(long[] data)Writes an array of unsigned integer values to the stream.
writeUShort(int data)Writes a single unsigned short value to the stream.
writeUShortArray(int[] data)Writes an array of unsigned short values to the stream.

TiffStreamWriter(StreamContainer writer)

public TiffStreamWriter(StreamContainer writer)

Initializes a new instance of the TiffStreamWriter class.

Parameters:

ParameterTypeDescription
writerStreamContainerThe stream writer.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getPosition()

public long getPosition()

Gets or sets the stream position.

Value: The stream position.

Returns: long

getSyncRoot()

public Object getSyncRoot()

Gets an object that can be used to synchronize access to the synchronized resource.

Value: The object that can be used to synchronize access to the synchronized resource.

Returns: java.lang.Object

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setPosition(long value)

public void setPosition(long value)

Gets or sets the stream position.

Value: The stream position.

Parameters:

ParameterTypeDescription
valuelong

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int

write(byte[] data)

public void write(byte[] data)

Writes the specified data.

Parameters:

ParameterTypeDescription
databyte[]The data to write.

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

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

Writes the specified data.

Parameters:

ParameterTypeDescription
databyte[]The data to write.
offsetintThe data offset.
dataLengthintLength of the data to writer.

writeDouble(double data)

public void writeDouble(double data)

Writes a single double value to the stream.

Parameters:

ParameterTypeDescription
datadoubleThe value to write.

writeDoubleArray(double[] data)

public void writeDoubleArray(double[] data)

Writes an array of double values to the stream.

Parameters:

ParameterTypeDescription
datadouble[]The array to write.

writeFloat(float data)

public void writeFloat(float data)

Writes a single float value to the stream.

Parameters:

ParameterTypeDescription
datafloatThe value to write.

writeFloatArray(float[] data)

public void writeFloatArray(float[] data)

Writes an array of float values to the stream.

Parameters:

ParameterTypeDescription
datafloat[]The array to write.

writeRational(TiffRational data)

public void writeRational(TiffRational data)

Writes a single rational number value to the stream.

Parameters:

ParameterTypeDescription
dataTiffRationalThe value to write.

writeRationalArray(TiffRational[] data)

public void writeRationalArray(TiffRational[] data)

Writes an array of unsigned rational values to the stream.

Parameters:

ParameterTypeDescription
dataTiffRational[]The array to write.

writeSByte(byte data)

public void writeSByte(byte data)

Writes a single signed byte value to the stream.

Parameters:

ParameterTypeDescription
databyteThe value to write.

writeSByteArray(byte[] data)

public void writeSByteArray(byte[] data)

Writes an array of signed byte values to the stream.

Parameters:

ParameterTypeDescription
databyte[]The array to write.

writeSLongArray(int[] data)

public void writeSLongArray(int[] data)

Writes an array of integer values to the stream.

Parameters:

ParameterTypeDescription
dataint[]The array to write.

writeSRational(TiffSRational data)

public void writeSRational(TiffSRational data)

Writes a single signed rational number value to the stream.

Parameters:

ParameterTypeDescription
dataTiffSRationalThe value to write.

writeSRationalArray(TiffSRational[] data)

public void writeSRationalArray(TiffSRational[] data)

Writes an array of signed rational values to the stream.

Parameters:

ParameterTypeDescription
dataTiffSRational[]The array to write.

writeSShort(short data)

public void writeSShort(short data)

Writes a single short value to the stream.

Parameters:

ParameterTypeDescription
datashortThe value to write.

writeSShortArray(short[] data)

public void writeSShortArray(short[] data)

Writes an array of short values to the stream.

Parameters:

ParameterTypeDescription
datashort[]The array to write.

writeSlong(int data)

public void writeSlong(int data)

Writes a single integer value to the stream.

Parameters:

ParameterTypeDescription
dataintThe value to write.

writeUByte(byte data)

public void writeUByte(byte data)

Writes a single byte value to the stream.

Parameters:

ParameterTypeDescription
databyteThe value to write.

writeULong(long data)

public void writeULong(long data)

Writes a single unsigned integer value to the stream.

Parameters:

ParameterTypeDescription
datalongThe value to write.

writeULongArray(long[] data)

public void writeULongArray(long[] data)

Writes an array of unsigned integer values to the stream.

Parameters:

ParameterTypeDescription
datalong[]The array to write.

writeUShort(int data)

public void writeUShort(int data)

Writes a single unsigned short value to the stream.

Parameters:

ParameterTypeDescription
dataintThe value to write.

writeUShortArray(int[] data)

public void writeUShortArray(int[] data)

Writes an array of unsigned short values to the stream.

Parameters:

ParameterTypeDescription
dataint[]The array to write.