Package org.terrier.utility.io
Class DebuggingDataOutput
- java.lang.Object
-
- org.terrier.utility.io.DebuggingDataOutput
-
- All Implemented Interfaces:
java.io.DataOutput
public class DebuggingDataOutput extends java.lang.Object implements java.io.DataOutput
Debugging code to test classes that implement DataOutput- Since:
- 4.0
- Author:
- Craig Macdonald
-
-
Constructor Summary
Constructors Constructor Description DebuggingDataOutput(java.io.DataOutput parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] arg0)
void
write(byte[] arg0, int arg1, int arg2)
void
write(int arg0)
void
writeBoolean(boolean arg0)
void
writeByte(int arg0)
void
writeBytes(java.lang.String arg0)
void
writeChar(int arg0)
void
writeChars(java.lang.String arg0)
void
writeDouble(double arg0)
void
writeFloat(float arg0)
void
writeInt(int arg0)
void
writeLong(long arg0)
void
writeShort(int arg0)
void
writeUTF(java.lang.String arg0)
-
-
-
Method Detail
-
write
public void write(int arg0) throws java.io.IOException
- Specified by:
write
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
write
public void write(byte[] arg0) throws java.io.IOException
- Specified by:
write
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
write
public void write(byte[] arg0, int arg1, int arg2) throws java.io.IOException
- Specified by:
write
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeBoolean
public void writeBoolean(boolean arg0) throws java.io.IOException
- Specified by:
writeBoolean
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeByte
public void writeByte(int arg0) throws java.io.IOException
- Specified by:
writeByte
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeBytes
public void writeBytes(java.lang.String arg0) throws java.io.IOException
- Specified by:
writeBytes
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeChar
public void writeChar(int arg0) throws java.io.IOException
- Specified by:
writeChar
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeChars
public void writeChars(java.lang.String arg0) throws java.io.IOException
- Specified by:
writeChars
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeDouble
public void writeDouble(double arg0) throws java.io.IOException
- Specified by:
writeDouble
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeFloat
public void writeFloat(float arg0) throws java.io.IOException
- Specified by:
writeFloat
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeInt
public void writeInt(int arg0) throws java.io.IOException
- Specified by:
writeInt
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeLong
public void writeLong(long arg0) throws java.io.IOException
- Specified by:
writeLong
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeShort
public void writeShort(int arg0) throws java.io.IOException
- Specified by:
writeShort
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
writeUTF
public void writeUTF(java.lang.String arg0) throws java.io.IOException
- Specified by:
writeUTF
in interfacejava.io.DataOutput
- Throws:
java.io.IOException
-
-