public interface Stream
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInputStream()
get the input stream
|
java.io.OutputStream |
getOutputStream()
get the output stream
|
boolean |
isAccessed()
check if the input or output was ever used to prevent unecessary
reading and writing for streams that were never accessed.
|
long |
length()
get the length of the Stream
|
java.io.InputStream getInputStream()
throws java.sql.SQLException
SQLException, - if the InputStream cannot be createdjava.sql.SQLExceptionjava.io.OutputStream getOutputStream()
throws java.sql.SQLException
SQLException, - if the OutputStream cannot be createdjava.sql.SQLExceptionboolean isAccessed()
throws java.sql.SQLException
SQLException, - if the Input or OutputStream cannot be accessedjava.sql.SQLExceptionlong length()
throws java.sql.SQLException
SQLException, - if the underlying Stream is not availablejava.sql.SQLException