Additional top-level class in compilation unit: ImportFileInputStream.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private ImportFileInputStream | |
| private LimitInputStream | |
| private Reader |
| Access | Constructor and Description |
|---|---|
| pack-priv | ImportLobFile(File
the file which has the LOB Data. lobFile, String the code set to use char data in the file. dataCodeset)Create a ImportLobFile object. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public InputStream | getBinaryStream(long
byte offset of the column data in the file. offset, long length of the the data. length)Returns a stream that points to the lob data from file at the
given |
| public Reader | getCharacterStream(long
byte offset of the column data in the file. offset, long length of the the data in bytes. length)Returns a stream that points to the clob data from file at the
given |
| public long | getClobDataLength(long
byte offset of the column data in the file. offset, long length of the the data in bytes. length)Returns the clob data length in characters at the give location. |
| public String | getString(long
byte offset of the column data in the file. offset, int length of the the data. length)Returns the clob data at the given location as |
| private void | openLobFile(final File
the file that contains lob data. lobFile)Open the lob file and setup the stream required to read the data. |
| dataCodeset | back to summary |
|---|---|
| private String dataCodeset | |
| lobInputStream | back to summary |
|---|---|
| private ImportFileInputStream lobInputStream | |
| lobLimitIn | back to summary |
|---|---|
| private LimitInputStream lobLimitIn | |
| lobReader | back to summary |
|---|---|
| private Reader lobReader | |
| ImportLobFile | back to summary |
|---|---|
| pack-priv ImportLobFile(File lobFile, String dataCodeset) throws Exception Create a ImportLobFile object. | |
| close | back to summary |
|---|---|
| public void close() throws IOException Close all the resources realated to the lob file. | |
| getBinaryStream | back to summary |
|---|---|
| public InputStream getBinaryStream(long offset, long length) throws IOException Returns a stream that points to the lob data from file at the
given
| |
| getCharacterStream | back to summary |
|---|---|
| public Reader getCharacterStream(long offset, long length) throws IOException Returns a stream that points to the clob data from file at the
given
| |
| getClobDataLength | back to summary |
|---|---|
| public long getClobDataLength(long offset, long length) throws IOException Returns the clob data length in characters at the give location.
| |
| getString | back to summary |
|---|---|
| public String getString(long offset, int length) throws IOException Returns the clob data at the given location as
| |
| openLobFile | back to summary |
|---|---|
| private void openLobFile(final File lobFile) throws Exception Open the lob file and setup the stream required to read the data. | |