All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.streams.FilterMOStr

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----ncsa.habanero.streams.FilterMOStr

public class FilterMOStr
extends OutputStream
implements MarshallOutput
FilterMOStr This output stream filters a marshall output stream


Variable Index

 o out

Constructor Index

 o FilterMOStr(MarshallOutput)

Method Index

 o close()
 o copy(Object)
 o flush()
 o getUnderlyingSocket()
 o startReplacingSpecifiables()
 o stopReplacingSpecifiables()
 o write(byte[])
Writes a sub array of bytes.
 o write(byte[], int, int)
Writes a sub array of bytes.
 o write(int)
Writes a byte.
 o writeBoolean(boolean)
Writes a boolean.
 o writeByte(int)
Writes an 8 bit byte.
 o writeBytes(String)
Writes a String as a sequence of bytes.
 o writeChar(int)
Writes a 16 bit char.
 o writeChars(String)
Writes a String as a sequence of chars.
 o writeDouble(double)
Writes a 64 bit double.
 o writeFloat(float)
Writes a 32 bit float.
 o writeInt(int)
Writes a 32 bit int.
 o writeLong(long)
Writes a 64 bit long.
 o writeObject(Object)
Write any information needed by the receiving object to recreate my state.
 o writeShort(int)
Writes a 16 bit short.
 o writeUTF(String)
Writes a String in UTF format.

Variables

 o out
 protected MarshallOutput out

Constructors

 o FilterMOStr
 public FilterMOStr(MarshallOutput init)
Parameters:
init - the initializing output stream
Returns:
creates a FilterMOStr

Methods

 o getUnderlyingSocket
 public Socket getUnderlyingSocket()
 o flush
 public void flush() throws IOException
Returns:
flushes the output stream
Overrides:
flush in class OutputStream
 o close
 public void close() throws IOException
Returns:
closes the output stream
Overrides:
close in class OutputStream
 o copy
 public void copy(Object src) throws IllegalArgumentException
Parameters:
src - the source
Returns:
copies the state from src into the current object
 o writeObject
 public void writeObject(Object obj) throws IOException
Write any information needed by the receiving object to recreate my state.

Parameters:
toSend - the object to send
Returns:
writes the object toSend to the output stream
Throws: IOException
when it cannot write the object
 o write
 public void write(int b) throws IOException
Writes a byte. Will block until the byte is actually written.

Parameters:
b - the byte to be written
Throws: IOException
If an I/O error has occurred.
Overrides:
write in class OutputStream
 o write
 public void write(byte b[]) throws IOException
Writes a sub array of bytes.

Parameters:
b - the data to be written
Throws: IOException
If an I/O error has occurred.
Overrides:
write in class OutputStream
 o write
 public void write(byte b[],
                   int off,
                   int len) throws IOException
Writes a sub array of bytes.

Parameters:
b - the data to be written
off - the start offset in the data
len - the number of bytes that are written
Throws: IOException
If an I/O error has occurred.
Overrides:
write in class OutputStream
 o writeBoolean
 public void writeBoolean(boolean v) throws IOException
Writes a boolean.

Parameters:
v - the boolean to be written
 o writeByte
 public void writeByte(int v) throws IOException
Writes an 8 bit byte.

Parameters:
v - the byte value to be written
 o writeShort
 public void writeShort(int v) throws IOException
Writes a 16 bit short.

Parameters:
v - the short value to be written
 o writeChar
 public void writeChar(int v) throws IOException
Writes a 16 bit char.

Parameters:
v - the char value to be written
 o writeInt
 public void writeInt(int v) throws IOException
Writes a 32 bit int.

Parameters:
v - the integer value to be written
 o writeLong
 public void writeLong(long v) throws IOException
Writes a 64 bit long.

Parameters:
v - the long value to be written
 o writeFloat
 public void writeFloat(float v) throws IOException
Writes a 32 bit float.

Parameters:
v - the float value to be written
 o writeDouble
 public void writeDouble(double v) throws IOException
Writes a 64 bit double.

Parameters:
v - the double value to be written
 o writeBytes
 public void writeBytes(String s) throws IOException
Writes a String as a sequence of bytes.

Parameters:
s - the String of bytes to be written
 o writeChars
 public void writeChars(String s) throws IOException
Writes a String as a sequence of chars.

Parameters:
s - the String of chars to be written
 o writeUTF
 public void writeUTF(String str) throws IOException
Writes a String in UTF format.

Parameters:
str - the String in UTF format
 o stopReplacingSpecifiables
 public void stopReplacingSpecifiables()
 o startReplacingSpecifiables
 public void startReplacingSpecifiables()

All Packages  Class Hierarchy  This Package  Previous  Next  Index