All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Interface java.io.DataOutput
  -  public interface DataOutput
		
The data output interface is implemented by streams that can 
 write primitive Java data types to an output stream in a 
 machine-independent manner.
  -  Since:
  
-  JDK1.0
    
-  See Also:
    
-  DataInput, DataOutputStream
   
  -   write(byte[]) write(byte[])
-   Writes b.lengthbytes from the specified byte array 
 to this output stream.
-   write(byte[], int, int) write(byte[], int, int)
-   Writes lenbytes from the specified byte array 
 starting at offsetoffto this output stream.
-   write(int) write(int)
-   Writes the specified byte to this data output stream.
  
-   writeBoolean(boolean) writeBoolean(boolean)
-   Writes a booleanvalue to this output stream.
-   writeByte(int) writeByte(int)
-   Writes an 8-bit value to this output stream.
  
-   writeBytes(String) writeBytes(String)
-   Writes a string to this output stream.
  
-   writeChar(int) writeChar(int)
-   Writes a charvalue to this output stream.
-   writeChars(String) writeChars(String)
-   Writes a string to this output stream.
  
-   writeDouble(double) writeDouble(double)
-   Writes a doublevalue to this output stream.
-   writeFloat(float) writeFloat(float)
-   Writes a floatvalue to this output stream.
-   writeInt(int) writeInt(int)
-   Writes an intvalue to this output stream.
-   writeLong(long) writeLong(long)
-   Writes a longvalue to this output stream.
-   writeShort(int) writeShort(int)
-   Writes a 16-bit value to this output stream.
  
-   writeUTF(String) writeUTF(String)
-   Writes a Unicode string by encoding it using modified UTF-8 format.
   
 write
write
 public abstract void write(int b) throws IOException
  -  Writes the specified byte to this data output stream.
   
- 
    -  Parameters:
    
-  b - the byte to be written.
    
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 write
write
 public abstract void write(byte b[]) throws IOException
  -  Writes b.lengthbytes from the specified byte array 
 to this output stream.
   
- 
    -  Parameters:
    
-  b - the data.
    
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 write
write
 public abstract void write(byte b[],
                            int off,
                            int len) throws IOException
  -  Writes lenbytes from the specified byte array 
 starting at offsetoffto this output stream.
   
- 
    -  Parameters:
    
-  b - the data.
    -  off - the start offset in the data.
    -  len - the number of bytes to write.
    
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeBoolean
writeBoolean
 public abstract void writeBoolean(boolean v) throws IOException
  -  Writes a booleanvalue to this output stream.
   
- 
    -  Parameters:
    
-  v - the boolean to be written.
    
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeByte
writeByte
 public abstract void writeByte(int v) throws IOException
  -  Writes an 8-bit value to this output stream.
   
- 
    -  Parameters:
    
-  v - the byte value to be written.
    
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeShort
writeShort
 public abstract void writeShort(int v) throws IOException
  -  Writes a 16-bit value to this output stream.
   
- 
    -  Parameters:
    
-  v - the shortvalue to be written.
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeChar
writeChar
 public abstract void writeChar(int v) throws IOException
  -  Writes a charvalue to this output stream.
   
- 
    -  Parameters:
    
-  v - the charvalue to be written.
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeInt
writeInt
 public abstract void writeInt(int v) throws IOException
  -  Writes an intvalue to this output stream.
   
- 
    -  Parameters:
    
-  v - the intvalue to be written.
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeLong
writeLong
 public abstract void writeLong(long v) throws IOException
  -  Writes a longvalue to this output stream.
   
- 
    -  Parameters:
    
-  v - the longvalue to be written.
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeFloat
writeFloat
 public abstract void writeFloat(float v) throws IOException
  -  Writes a floatvalue to this output stream.
   
- 
    -  Parameters:
    
-  v - the floatvalue to be written.
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeDouble
writeDouble
 public abstract void writeDouble(double v) throws IOException
  -  Writes a doublevalue to this output stream.
   
- 
    -  Parameters:
    
-  v - the doublevalue to be written.
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeBytes
writeBytes
 public abstract void writeBytes(String s) throws IOException
  -  Writes a string to this output stream.
   
- 
    -  Parameters:
    
-  s - the string of bytes to be written.
    
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeChars
writeChars
 public abstract void writeChars(String s) throws IOException
  -  Writes a string to this output stream.
   
- 
    -  Parameters:
    
-  s - the string value to be written.
    
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
 writeUTF
writeUTF
 public abstract void writeUTF(String str) throws IOException
  -  Writes a Unicode string by encoding it using modified UTF-8 format.
   
- 
    -  Parameters:
    
-  str - the string value to be written.
    
-  Throws: IOException
    
-  if an I/O error occurs.
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index
Submit a bug or feature