jaugment2.helpers
Class RemoteInputStream
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--jaugment2.helpers.RemoteInputStream
- public class RemoteInputStream
- extends java.rmi.server.UnicastRemoteObject
- implements java.rmi.Remote, RemoteInputStreamIF
helper-class for SerializableInputStream
- See Also:
- Serialized Form
|
Field Summary |
private java.io.File |
f
|
private java.io.InputStream |
in
|
private long |
markpos
|
private long |
pos
|
private java.net.URL |
u
|
| Fields inherited from class java.rmi.server.UnicastRemoteObject |
csf,
port,
portFactoryParamTypes,
portParamTypes,
serialVersionUID,
ssf |
| Fields inherited from class java.rmi.server.RemoteServer |
log,
logname,
serialVersionUID |
| Fields inherited from class java.rmi.server.RemoteObject |
ref,
serialVersionUID |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
,
clone,
exportObject,
exportObject,
exportObject,
exportObject,
readObject,
reexport,
unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost,
getLog,
setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals,
getRef,
hashCode,
toString,
toStub,
writeObject |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
in
private java.io.InputStream in
f
private java.io.File f
u
private java.net.URL u
pos
private long pos
markpos
private long markpos
RemoteInputStream
public RemoteInputStream(java.io.InputStream in)
throws java.rmi.RemoteException
RemoteInputStream
public RemoteInputStream(java.io.File f)
throws java.rmi.RemoteException
RemoteInputStream
public RemoteInputStream(java.net.URL u)
throws java.rmi.RemoteException
init
private void init()
throws java.io.IOException
available
public int available()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
- available in interface RemoteInputStreamIF
close
public void close()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
- close in interface RemoteInputStreamIF
mark
public void mark(int readlimit)
throws java.rmi.RemoteException
- Specified by:
- mark in interface RemoteInputStreamIF
markSupported
public boolean markSupported()
throws java.rmi.RemoteException
- Specified by:
- markSupported in interface RemoteInputStreamIF
read
public int read()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
- read in interface RemoteInputStreamIF
read
public int read(byte[] b)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
- read in interface RemoteInputStreamIF
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
- read in interface RemoteInputStreamIF
reset
public void reset()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
- reset in interface RemoteInputStreamIF
skip
public long skip(long n)
throws java.io.IOException
- Specified by:
- skip in interface RemoteInputStreamIF