com.sun.jimi.util
Class ObjectInputToStreamAdapter
java.lang.Object
|
+--java.io.InputStream
|
+--com.sun.jimi.util.ObjectInputToStreamAdapter
- public class ObjectInputToStreamAdapter
- extends java.io.InputStream
No-frills adapter for using ObjectInput as an InputStream
Field Summary |
protected java.io.ObjectInput |
input_
|
Methods inherited from class java.io.InputStream |
reset |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
input_
protected java.io.ObjectInput input_
ObjectInputToStreamAdapter
public ObjectInputToStreamAdapter(java.io.ObjectInput input)
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
skip
public long skip(long n)
throws java.io.IOException
- Overrides:
- skip in class java.io.InputStream
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