TiffStreamWriter
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.internal.interfaces.ISynchronizable
public class TiffStreamWriter implements ISynchronizable
Tiff stream writer.
Constructors
Constructor | Description |
---|---|
TiffStreamWriter(StreamContainer writer) | Initializes a new instance of the TiffStreamWriter class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
writer | StreamContainer | The stream writer. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | long |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |
write(byte[] data)
public void write(byte[] data)
Writes the specified data.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] | 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:
Parameter | Type | Description |
---|---|---|
data | byte[] | The data to write. |
offset | int | The data offset. |
dataLength | int | Length of the data to writer. |
writeDouble(double data)
public void writeDouble(double data)
Writes a single double value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | double | The value to write. |
writeDoubleArray(double[] data)
public void writeDoubleArray(double[] data)
Writes an array of double values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | double[] | The array to write. |
writeFloat(float data)
public void writeFloat(float data)
Writes a single float value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | float | The value to write. |
writeFloatArray(float[] data)
public void writeFloatArray(float[] data)
Writes an array of float values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | float[] | The array to write. |
writeRational(TiffRational data)
public void writeRational(TiffRational data)
Writes a single rational number value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TiffRational | The value to write. |
writeRationalArray(TiffRational[] data)
public void writeRationalArray(TiffRational[] data)
Writes an array of unsigned rational values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TiffRational[] | The array to write. |
writeSByte(byte data)
public void writeSByte(byte data)
Writes a single signed byte value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte | The value to write. |
writeSByteArray(byte[] data)
public void writeSByteArray(byte[] data)
Writes an array of signed byte values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] | The array to write. |
writeSLongArray(int[] data)
public void writeSLongArray(int[] data)
Writes an array of integer values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | int[] | The array to write. |
writeSRational(TiffSRational data)
public void writeSRational(TiffSRational data)
Writes a single signed rational number value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TiffSRational | The value to write. |
writeSRationalArray(TiffSRational[] data)
public void writeSRationalArray(TiffSRational[] data)
Writes an array of signed rational values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TiffSRational[] | The array to write. |
writeSShort(short data)
public void writeSShort(short data)
Writes a single short value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | short | The value to write. |
writeSShortArray(short[] data)
public void writeSShortArray(short[] data)
Writes an array of short values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | short[] | The array to write. |
writeSlong(int data)
public void writeSlong(int data)
Writes a single integer value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | int | The value to write. |
writeUByte(byte data)
public void writeUByte(byte data)
Writes a single byte value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte | The value to write. |
writeULong(long data)
public void writeULong(long data)
Writes a single unsigned integer value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | long | The value to write. |
writeULongArray(long[] data)
public void writeULongArray(long[] data)
Writes an array of unsigned integer values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | long[] | The array to write. |
writeUShort(int data)
public void writeUShort(int data)
Writes a single unsigned short value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | int | The value to write. |
writeUShortArray(int[] data)
public void writeUShortArray(int[] data)
Writes an array of unsigned short values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | int[] | The array to write. |