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

## oracle.ifs.server
Class BfileInputStream

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              java.io.BufferedInputStream
                  oracle.ifs.server.BfileInputStream

All Implemented Interfaces:
  java.io.Closeable

    public class BfileInputStream

extends java.io.BufferedInputStream

This class encapsulates a BFILE object in a regular java.io.BufferedInputStream. The main difference is that it overwrites the close() method to actually close the encapsulated BFILE. Calls `BFILE.closeFile` upon `close`.

See Also:
  `BufferedInputStream`
(Unpublished)

Field Summary

Fields inherited from class java.io.BufferedInputStream
`buf, count, marklimit, markpos, pos`

Fields inherited from class java.io.FilterInputStream
`in`

Constructor Summary
`BfileInputStream(oracle.sql.BFILE bfile, S_LibrarySession session)` Constructs a BfileInputStream.

Method Summary
`void` | `close()`

Methods inherited from class java.io.BufferedInputStream
`available, mark, markSupported, read, read, reset, skip`

Methods inherited from class java.io.FilterInputStream
`read`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BfileInputStream

    public BfileInputStream(oracle.sql.BFILE bfile,
                            S_LibrarySession session)
                     throws IfsException

  Constructs a BfileInputStream.

  Parameters:
    `bfile` - the BFILE
    `session` - the session
  Throws:
    `IfsException` - if the operation fails
  (Unpublished)

Method Detail

### close

    public void close()
               throws java.io.IOException

  Description copied from class: `BfileInputStream`

  Specified by:
    `close` in interface `java.io.Closeable`
  Overrides:
    `close` in class `java.io.BufferedInputStream`
  Throws:
    `java.io.IOException`

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