se.kmr.scam.util
Class RemoteInputStream

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended byse.kmr.scam.util.RemoteInputStream
All Implemented Interfaces:
Remote, RemoteInputStreamIF, Serializable

public class RemoteInputStream
extends UnicastRemoteObject
implements Remote, RemoteInputStreamIF

Title:

Description:

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
jand
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteInputStream(File f)
           
RemoteInputStream(InputStream in)
           
RemoteInputStream(URL u)
           
 
Method Summary
 int available()
           
 void close()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteInputStream

public RemoteInputStream(InputStream in)
                  throws RemoteException

RemoteInputStream

public RemoteInputStream(File f)
                  throws RemoteException

RemoteInputStream

public RemoteInputStream(URL u)
                  throws RemoteException
Method Detail

available

public int available()
              throws IOException,
                     RemoteException
Specified by:
available in interface RemoteInputStreamIF
Throws:
IOException
RemoteException

close

public void close()
           throws IOException,
                  RemoteException
Specified by:
close in interface RemoteInputStreamIF
Throws:
IOException
RemoteException

mark

public void mark(int readlimit)
          throws RemoteException
Specified by:
mark in interface RemoteInputStreamIF
Throws:
RemoteException

markSupported

public boolean markSupported()
                      throws RemoteException
Specified by:
markSupported in interface RemoteInputStreamIF
Throws:
RemoteException

read

public int read()
         throws IOException,
                RemoteException
Specified by:
read in interface RemoteInputStreamIF
Throws:
IOException
RemoteException

read

public int read(byte[] b)
         throws IOException,
                RemoteException
Specified by:
read in interface RemoteInputStreamIF
Throws:
IOException
RemoteException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException,
                RemoteException
Specified by:
read in interface RemoteInputStreamIF
Throws:
IOException
RemoteException

reset

public void reset()
           throws IOException,
                  RemoteException
Specified by:
reset in interface RemoteInputStreamIF
Throws:
IOException
RemoteException

skip

public long skip(long n)
          throws IOException
Specified by:
skip in interface RemoteInputStreamIF
Throws:
IOException


Copyright © 2003 SCAM. All Rights Reserved.