jaugment2.helpers
Class SerializableInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--jaugment2.helpers.SerializableInputStream
- public class SerializableInputStream
- extends java.io.InputStream
- implements java.io.Serializable
wrapper around an input-stream that can be serialized and used across a network
- See Also:
- Serialized Form
| Fields inherited from class java.io.InputStream |
SKIP_BUFFER_SIZE,
skipBuffer |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
in
private RemoteInputStreamIF in
tos
private java.lang.String tos
SerializableInputStream
public SerializableInputStream(java.io.InputStream in)
throws java.rmi.RemoteException
SerializableInputStream
public SerializableInputStream(java.io.File f)
throws java.rmi.RemoteException
SerializableInputStream
public SerializableInputStream(java.net.URL u)
throws java.rmi.RemoteException
SerializableInputStream
public SerializableInputStream(java.io.InputStream in,
java.lang.String tos)
throws java.rmi.RemoteException
SerializableInputStream
public SerializableInputStream(java.io.File f,
java.lang.String tos)
throws java.rmi.RemoteException
SerializableInputStream
public SerializableInputStream(java.net.URL u,
java.lang.String tos)
throws java.rmi.RemoteException
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
available
public int available()
throws java.io.IOException
- Overrides:
- available in class java.io.InputStream
close
public void close()
throws java.io.IOException
- Overrides:
- close in class java.io.InputStream
mark
public void mark(int readlimit)
- Overrides:
- mark in class java.io.InputStream
markSupported
public boolean markSupported()
- Overrides:
- markSupported in class java.io.InputStream
read
public int read()
throws java.io.IOException
- Overrides:
- read in class java.io.InputStream
read
public int read(byte[] b)
throws java.io.IOException
- Overrides:
- read in class java.io.InputStream
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
- read in class java.io.InputStream
reset
public void reset()
throws java.io.IOException
- Overrides:
- reset in class java.io.InputStream
skip
public long skip(long n)
throws java.io.IOException
- Overrides:
- skip in class java.io.InputStream