Method Summary |
|
public static Blob | newBlob(InputStream is) Create a new read-only BLOB for specified input stream.
The stream will be lazily read into memory or saved on disk depending on its length.
Parameters: is - input stream to create blob. |
public static Blob | newBlob(InputStream is, long length) Create a new read-only BLOB for specified input stream.
The stream will be lazily read into memory or saved on disk depending on its length.
Parameters: is - input stream to create blob. Parameters: length - input stream length. |
public static Blob | newBlob(URL url) Create a new read-only BLOB for specified URL.
The URL content will be lazily fetched into memory or saved on disk depending on its length.
Parameters: url - URL of the blob content. |
public static Clob | newClob(Reader reader) Create a new read-only CLOB for specified reader.
The reader will be lazily read into memory or saved on disk depending on its length.
Parameters: reader - reader to create CLOB. |
public static Clob | newClob(Reader reader, long length) Create a new read-only CLOB for specified reader.
The reader will be lazily read into memory or saved on disk depending on its length.
Parameters: reader - reader to create CLOB. Parameters: length - content length. |