|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imagero.uio.AbstractRandomAccessRO
com.imagero.uio.AbstractRandomAccess
implementation of RandomAccess
| Field Summary |
| Fields inherited from interface com.imagero.uio.RandomAccessRO |
BIG_ENDIAN, LITTLE_ENDIAN |
| Constructor Summary | |
AbstractRandomAccess()
|
|
| Method Summary | |
protected void |
_setByteOrder(int byteOrder)
not all images are tiffs, so we don't throw exception if called from constructor |
void |
setByteOrder(int byteOrder)
set byte order |
void |
write(char[] sh)
Writes char array to the output |
void |
write(char[] sh,
int byteOrder)
Writes char array to the output |
void |
write(char[] sh,
int offset,
int length)
Writes char array to the output |
void |
write(char[] sh,
int offset,
int length,
int byteOrder)
Writes char array to the output |
void |
write(double[] source)
Writes double array to the output |
void |
write(double[] source,
int byteOrder)
Writes double array to the output |
void |
write(double[] source,
int offset,
int length)
Writes double array to the output |
void |
write(double[] source,
int offset,
int length,
int byteOrder)
Writes double array to the output |
void |
write(float[] source)
Writes float array to the output |
void |
write(float[] source,
int byteOrder)
Writes float array to the output |
void |
write(float[] source,
int offset,
int length)
Writes int array to the output |
void |
write(float[] source,
int offset,
int length,
int byteOrder)
Writes float array to the output |
void |
write(int[] source)
Writes int array to the output |
void |
write(int[] source,
int byteOrder)
Writes int array to the output |
void |
write(int[] source,
int offset,
int length)
Writes int array to the output |
void |
write(int[] source,
int offset,
int length,
int byteOrder)
Writes int array to the output |
void |
write(long[] source)
Writes long array to the output |
void |
write(long[] source,
int byteOrder)
Writes long array to the output |
void |
write(long[] source,
int offset,
int length)
Writes long array to the output |
void |
write(long[] source,
int offset,
int length,
int byteOrder)
Writes long array to the output |
void |
write(short[] sh)
Writes short array to the output |
void |
write(short[] sh,
int byteOrder)
Writes short array to the output |
void |
write(short[] sh,
int offset,
int length)
Writes short array to the output |
void |
write(short[] sh,
int offset,
int length,
int byteOrder)
Writes short array to the output |
void |
writeBoolean(boolean b)
|
void |
writeByte(int b)
|
void |
writeBytes(java.lang.String s)
|
void |
writeChar(int v)
|
void |
writeChars(java.lang.String s)
|
void |
writeDouble(double v)
|
void |
writeFloat(float v)
|
void |
writeInt(int v)
|
void |
writeLong(long v)
|
void |
writeShort(int v)
|
void |
writeUTF(java.lang.String str)
|
| Methods inherited from class com.imagero.uio.AbstractRandomAccessRO |
_read, getByteOrder, readBoolean, readByte, readByteLine, readByteOrder, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.imagero.uio.RandomAccess |
setLength |
| Methods inherited from interface com.imagero.uio.RandomAccessRO |
getByteOrder, getFilePointer, length, readByteLine, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, seek |
| Methods inherited from interface com.imagero.uio.Input |
close, read, read, read, skip |
| Methods inherited from interface java.io.DataInput |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
| Methods inherited from interface java.io.DataOutput |
write, write, write |
| Constructor Detail |
public AbstractRandomAccess()
| Method Detail |
public void writeBoolean(boolean b)
throws java.io.IOException
writeBoolean in interface java.io.DataOutputjava.io.IOException
public void writeByte(int b)
throws java.io.IOException
writeByte in interface java.io.DataOutputjava.io.IOException
public void write(short[] sh)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssh - short array
java.io.IOException
public void write(short[] sh,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssh - short arraybyteOrder - byte order in which short array read into temporary buffer
java.io.IOException
public void write(short[] sh,
int offset,
int length)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssh - short arrayoffset - start offset in arraylength - length number of shorts to write
java.io.IOException
public void write(short[] sh,
int offset,
int length,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssh - short arrayoffset - start offset in arraylength - length number of shorts to writebyteOrder - byte order in which short array read into temporary buffer
java.io.IOException
public void write(char[] sh)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssh - char array
java.io.IOException
public void write(char[] sh,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssh - char arraybyteOrder - byte order in which char array read into temporary buffer
java.io.IOException
public void write(char[] sh,
int offset,
int length)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssh - char arrayoffset - start offset in arraylength - length number of shorts to write
java.io.IOException
public void write(char[] sh,
int offset,
int length,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssh - char arrayoffset - start offset in arraylength - length number of shorts to writebyteOrder - byte order in which char array read into temporary buffer
java.io.IOException
public void write(int[] source)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - int array
java.io.IOException
public void write(int[] source,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - int arraybyteOrder - byte order in which int array read into temporary buffer
java.io.IOException
public void write(int[] source,
int offset,
int length)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - int arrayoffset - start offset in arraylength - length number of ints to write
java.io.IOException
public void write(int[] source,
int offset,
int length,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - int arrayoffset - start offset in arraylength - length number of ints to writebyteOrder - byte order in which int array read into temporary buffer
java.io.IOException
public void write(float[] source)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - float array
java.io.IOException
public void write(float[] source,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - float arraybyteOrder - byte order in which float array read into temporary buffer
java.io.IOException
public void write(float[] source,
int offset,
int length)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - int arrayoffset - start offset in arraylength - length number of ints to write
java.io.IOException
public void write(float[] source,
int offset,
int length,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - float arrayoffset - start offset in arraylength - length number of float to writebyteOrder - byte order in which float array read into temporary buffer
java.io.IOException
public void write(long[] source)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - long array
java.io.IOException
public void write(long[] source,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - long arraybyteOrder - byte order in which long array read into temporary buffer
java.io.IOException
public void write(long[] source,
int offset,
int length)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - long arrayoffset - start offset in arraylength - length number of longs to write
java.io.IOException
public void write(long[] source,
int offset,
int length,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - long arrayoffset - start offset in arraylength - length number of longs to writebyteOrder - byte order in which long array read into temporary buffer
java.io.IOException
public void write(double[] source)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - double array
java.io.IOException
public void write(double[] source,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - double arraybyteOrder - byte order in which double array read into temporary buffer
java.io.IOException
public void write(double[] source,
int offset,
int length)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - double arrayoffset - start offset in arraylength - number of doubles to write
java.io.IOException
public void write(double[] source,
int offset,
int length,
int byteOrder)
throws java.io.IOException
RandomAccess
write in interface RandomAccesssource - double arrayoffset - start offset in arraylength - number of doubles to writebyteOrder - byte order in which long array read into temporary buffer
java.io.IOException
public final void writeFloat(float v)
throws java.io.IOException
writeFloat in interface java.io.DataOutputjava.io.IOException
public final void writeDouble(double v)
throws java.io.IOException
writeDouble in interface java.io.DataOutputjava.io.IOException
public void writeBytes(java.lang.String s)
throws java.io.IOException
writeBytes in interface java.io.DataOutputjava.io.IOException
public void writeChars(java.lang.String s)
throws java.io.IOException
writeChars in interface java.io.DataOutputjava.io.IOException
public void writeUTF(java.lang.String str)
throws java.io.IOException
writeUTF in interface java.io.DataOutputjava.io.IOException
public void writeShort(int v)
throws java.io.IOException
writeShort in interface java.io.DataOutputjava.io.IOException
public void writeChar(int v)
throws java.io.IOException
writeChar in interface java.io.DataOutputjava.io.IOException
public void writeInt(int v)
throws java.io.IOException
writeInt in interface java.io.DataOutputjava.io.IOException
public void writeLong(long v)
throws java.io.IOException
writeLong in interface java.io.DataOutputjava.io.IOException
public void setByteOrder(int byteOrder)
throws java.io.IOException
RandomAccessRO
setByteOrder in interface RandomAccessROsetByteOrder in class AbstractRandomAccessROjava.io.IOException
protected void _setByteOrder(int byteOrder)
throws java.io.IOException
_setByteOrder in class AbstractRandomAccessRObyteOrder -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||