nom.tam.util
Interface ArrayDataInput
- All Superinterfaces:
- java.io.DataInput
- All Known Subinterfaces:
- DataIO, RandomAccess
- All Known Implementing Classes:
- BufferedDataInputStream, BufferedFile
public interface ArrayDataInput
- extends java.io.DataInput
Method Summary |
void |
close()
|
int |
read(boolean[] buf)
|
int |
read(boolean[] buf,
int offset,
int size)
|
int |
read(byte[] buf)
|
int |
read(byte[] buf,
int offset,
int size)
|
int |
read(char[] buf)
|
int |
read(char[] buf,
int offset,
int size)
|
int |
read(double[] buf)
|
int |
read(double[] buf,
int offset,
int size)
|
int |
read(float[] buf)
|
int |
read(float[] buf,
int offset,
int size)
|
int |
read(int[] buf)
|
int |
read(int[] buf,
int offset,
int size)
|
int |
read(long[] buf)
|
int |
read(long[] buf,
int offset,
int size)
|
int |
read(short[] buf)
|
int |
read(short[] buf,
int offset,
int size)
|
int |
readArray(java.lang.Object o)
Read a generic (possibly multidimenionsional) primitive array. |
long |
skip(long distance)
|
Methods inherited from interface java.io.DataInput |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
readArray
int readArray(java.lang.Object o)
throws java.io.IOException
- Read a generic (possibly multidimenionsional) primitive array.
An Object[] array is also a legal argument if each element
of the array is a legal.
The ArrayDataInput classes do not support String input since
it is unclear how one would read in an Array of strings.
- Parameters:
o
- A [multidimensional] primitive (or Object) array.
- Throws:
java.io.IOException
read
int read(byte[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(boolean[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(short[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(char[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(int[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(long[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(float[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(double[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(byte[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(boolean[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(char[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(short[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(int[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(long[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(float[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(double[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
skip
long skip(long distance)
throws java.io.IOException
- Throws:
java.io.IOException
close
void close()
throws java.io.IOException
- Throws:
java.io.IOException