edu.stanford.smi.protege.server
Class SimpleStream
java.lang.Object
edu.stanford.smi.protege.server.SimpleStream
- All Implemented Interfaces:
- RemoteSimpleStream, Remote
public class SimpleStream
- extends Object
- implements RemoteSimpleStream
Method Summary |
void |
close()
|
byte[] |
read()
Read some buffer size count of bytes until it reaches the end of the file
at which point it returns null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleStream
public SimpleStream(URL url)
throws RemoteException
- Throws:
RemoteException
read
public byte[] read()
throws RemoteException
- Description copied from interface:
RemoteSimpleStream
- Read some buffer size count of bytes until it reaches the end of the file
at which point it returns null.
- Specified by:
read
in interface RemoteSimpleStream
- Returns:
-
- Throws:
RemoteException
close
public void close()
throws RemoteException
- Specified by:
close
in interface RemoteSimpleStream
- Throws:
RemoteException
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.