org.brains2b.data.sql.lob
Class ConnectedStream

java.lang.Object
  extended by org.brains2b.data.sql.lob.ConnectedStream
All Implemented Interfaces:
org.brains2b.sql.meta.types.Stream

public class ConnectedStream
extends java.lang.Object
implements org.brains2b.sql.meta.types.Stream

Implementation of Stream for database streams that are connected to the stream in the database

Version:
0.90 [21-03-2008]
Author:
dennis@brains2b.nl

Constructor Summary
ConnectedStream()
           
ConnectedStream(java.io.InputStream is)
           
 
Method Summary
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 int hashCode()
           
 boolean isAccessed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectedStream

public ConnectedStream()

ConnectedStream

public ConnectedStream(java.io.InputStream is)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.sql.SQLException
Specified by:
getInputStream in interface org.brains2b.sql.meta.types.Stream
Throws:
java.sql.SQLException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.sql.SQLException
Specified by:
getOutputStream in interface org.brains2b.sql.meta.types.Stream
Throws:
java.sql.SQLException

isAccessed

public boolean isAccessed()
                   throws java.sql.SQLException
Specified by:
isAccessed in interface org.brains2b.sql.meta.types.Stream
Throws:
java.sql.SQLException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object