Protege 3.5

edu.stanford.smi.protege.server
Class SimpleStream

java.lang.Object
  extended by edu.stanford.smi.protege.server.SimpleStream
All Implemented Interfaces:
RemoteSimpleStream, Remote

public class SimpleStream
extends Object
implements RemoteSimpleStream


Constructor Summary
SimpleStream(URL url)
           
 
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
 

Constructor Detail

SimpleStream

public SimpleStream(URL url)
             throws RemoteException
Throws:
RemoteException
Method Detail

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

Protege 3.5

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.