org.eclipse.net4j.util.io
Class DataOutputExtender

java.lang.Object
  extended by org.eclipse.net4j.util.io.DataOutputExtender
All Implemented Interfaces:
DataOutput, ExtendedDataOutput

public class DataOutputExtender
extends Object
implements ExtendedDataOutput


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataOutput
ExtendedDataOutput.Delegating, ExtendedDataOutput.Stream
 
Constructor Summary
DataOutputExtender(DataOutput output)
           
 
Method Summary
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 void writeBoolean(boolean v)
           
 void writeByte(int v)
           
 void writeByteArray(byte[] b)
           
 void writeBytes(String s)
           
 void writeChar(int v)
           
 void writeChars(String s)
           
 void writeDouble(double v)
           
 void writeEnum(Enum<?> literal)
           
 void writeFloat(float v)
           
 void writeInt(int v)
           
 void writeLong(long v)
           
 void writeObject(Object object)
           
 void writeShort(int v)
           
 void writeString(String str)
           
 void writeUTF(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataOutputExtender

public DataOutputExtender(DataOutput output)
Method Detail

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Specified by:
write in interface DataOutput
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Specified by:
write in interface DataOutput
Throws:
IOException

write

public void write(int b)
           throws IOException
Specified by:
write in interface DataOutput
Throws:
IOException

writeBoolean

public void writeBoolean(boolean v)
                  throws IOException
Specified by:
writeBoolean in interface DataOutput
Throws:
IOException

writeByte

public void writeByte(int v)
               throws IOException
Specified by:
writeByte in interface DataOutput
Throws:
IOException

writeBytes

public void writeBytes(String s)
                throws IOException
Specified by:
writeBytes in interface DataOutput
Throws:
IOException

writeChar

public void writeChar(int v)
               throws IOException
Specified by:
writeChar in interface DataOutput
Throws:
IOException

writeChars

public void writeChars(String s)
                throws IOException
Specified by:
writeChars in interface DataOutput
Throws:
IOException

writeDouble

public void writeDouble(double v)
                 throws IOException
Specified by:
writeDouble in interface DataOutput
Throws:
IOException

writeFloat

public void writeFloat(float v)
                throws IOException
Specified by:
writeFloat in interface DataOutput
Throws:
IOException

writeInt

public void writeInt(int v)
              throws IOException
Specified by:
writeInt in interface DataOutput
Throws:
IOException

writeLong

public void writeLong(long v)
               throws IOException
Specified by:
writeLong in interface DataOutput
Throws:
IOException

writeShort

public void writeShort(int v)
                throws IOException
Specified by:
writeShort in interface DataOutput
Throws:
IOException

writeUTF

public void writeUTF(String str)
              throws IOException
Specified by:
writeUTF in interface DataOutput
Throws:
IOException

writeByteArray

public void writeByteArray(byte[] b)
                    throws IOException
Specified by:
writeByteArray in interface ExtendedDataOutput
Throws:
IOException

writeObject

public void writeObject(Object object)
                 throws IOException
Specified by:
writeObject in interface ExtendedDataOutput
Throws:
IOException

writeString

public void writeString(String str)
                 throws IOException
Specified by:
writeString in interface ExtendedDataOutput
Throws:
IOException

writeEnum

public void writeEnum(Enum<?> literal)
               throws IOException
Specified by:
writeEnum in interface ExtendedDataOutput
Throws:
IOException
Since:
3.0


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.