Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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