public class InputStream extends AbstractInputStream implements InputStreamIF
| Modifier and Type | Field and Description | 
|---|---|
| protected byte[] | buffer | 
| protected java.io.File | file | 
| protected java.io.FileInputStream | fis | 
| Constructor and Description | 
|---|
| InputStream(java.io.File file)Create the infpout stream for a file. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close the input stream. | 
| protected void | err(java.lang.String s)The output on standard err. | 
| protected void | finalize() | 
| int | length()Get the length of file. | 
| protected void | out(java.lang.String s)The output on standard out. | 
| int | read(DS_BYTEHolder b,
    int off,
    int len)Read a byte array from input stream. | 
| void | reset()Reset the stream. | 
_create_request, _create_request, _duplicate, _get_domain_managers, _get_policy, _hash, _is_equivalent, _release, _request, _set_policy_override_all_interfaces, _invoke, _this, _this_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_objectprotected java.io.FileInputStream fis
protected byte[] buffer
protected java.io.File file
public InputStream(java.io.File file)
            throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionprotected void finalize()
                 throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic int read(DS_BYTEHolder b, int off, int len) throws CORBAFileServerException
read in interface InputStreamIFOperationsb - - the buffer into which the data is read.off - - the start offset in array b  at which the data is written.len - - the maximum number of bytes to read.CORBAFileServerException - if an IO exception occurs.public void close()
           throws CORBAFileServerException
InputStreamIFOperationsclose in interface InputStreamIFOperationsCORBAFileServerException - if an IO exception occurs.public int length()
           throws CORBAFileServerException
length in interface InputStreamIFOperationsCORBAFileServerException - if an IO exception occurs.public void reset()
           throws CORBAFileServerException
reset in interface InputStreamIFOperationsCORBAFileServerException - if an IO exception occurs.protected void out(java.lang.String s)
protected void err(java.lang.String s)