nom.tam.util
Interface ArrayDataOutput
- All Superinterfaces:
- java.io.DataOutput
- All Known Implementing Classes:
- BufferedDataOutputStream, BufferedFile
public interface ArrayDataOutput
- extends java.io.DataOutput
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(boolean[] buf)
|
void |
write(boolean[] buf,
int offset,
int size)
|
void |
write(byte[] buf)
|
void |
write(byte[] buf,
int offset,
int size)
|
void |
write(char[] buf)
|
void |
write(char[] buf,
int offset,
int size)
|
void |
write(double[] buf)
|
void |
write(double[] buf,
int offset,
int size)
|
void |
write(float[] buf)
|
void |
write(float[] buf,
int offset,
int size)
|
void |
write(int[] buf)
|
void |
write(int[] buf,
int offset,
int size)
|
void |
write(long[] buf)
|
void |
write(long[] buf,
int offset,
int size)
|
void |
write(short[] buf)
|
void |
write(short[] buf,
int offset,
int size)
|
void |
write(java.lang.String[] buf)
|
void |
write(java.lang.String[] buf,
int offset,
int size)
|
void |
writeArray(java.lang.Object o)
Write a generic (possibly multi-dimenionsional) primitive or String
array. |
Methods inherited from interface java.io.DataOutput |
write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
writeArray
void writeArray(java.lang.Object o)
throws java.io.IOException
- Write a generic (possibly multi-dimenionsional) primitive or String
array. An array of Objects is also allowed if all
of the elements are valid arrays.
This routine is not called 'write' to avoid possible compilation
errors in routines which define only some of the other methods
of the interface (and defer to the superclass on others).
In that case there is an ambiguity as to whether to
call the routine in the current class but convert to
Object, or call the method from the super class with
the same type argument.
- Parameters:
o
- The primitive or String array to be written.
- Throws:
java.io.IOException
- if the argument is not of the proper type
write
void write(byte[] buf)
throws java.io.IOException
- Specified by:
write
in interface java.io.DataOutput
- Throws:
java.io.IOException
write
void write(boolean[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(short[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(char[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(int[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(long[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(float[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(double[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(java.lang.String[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(byte[] buf,
int offset,
int size)
throws java.io.IOException
- Specified by:
write
in interface java.io.DataOutput
- Throws:
java.io.IOException
write
void write(boolean[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(char[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(short[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(int[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(long[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(float[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(double[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(java.lang.String[] buf,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
flush
void flush()
throws java.io.IOException
- Throws:
java.io.IOException
close
void close()
throws java.io.IOException
- Throws:
java.io.IOException