|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Performs Transduction against a stream of data from either a Reader or a Writer.
This transduction occurs both ways; put()
takes data
from the IMetaCollection
instance to which this
ITransducer
instance is attached and places it into the data
source represented by this ITransducer
instance. The
get()
method takes data from the data source represented by this
ITransducer
instance and places it into the
IMetaCollection
instance to which this ITransducer
instance is attached.
This IIOTransducer instance provides stream-based access for stream-based ITransducer implementors. It abstracts out the setting and getting of the streams, or the readers and the writers, into this interface.
For specific type of streams, like file-based streams or string-based streams, see the TransducerAdapter objects.
FileTransducerAdapter
,
StringTransducerAdapter
,
URLTransducerAdapter
,
IMetaCollection
Method Summary | |
java.io.Reader |
getReader()
Returns the Reader instance to be used by this IIOTransducer instance. |
java.io.Writer |
getWriter()
Returns the Writer instance to be used by this IIOTransducer instance. |
void |
setReader(java.io.Reader aReader)
Sets the Reader instance for this IIOTransducer instance. |
void |
setWriter(java.io.Writer aWriter)
Sets the Writer instance for this IIOTransducer instance. |
Methods inherited from interface net.sourceforge.esw.collection.ITransducer |
get, getContextFactory, put, setContextFactory |
Method Detail |
public java.io.Reader getReader()
setReader( Reader )
public java.io.Writer getWriter()
setWriter( Writer )
public void setReader(java.io.Reader aReader)
aReader
- the Reader instance to be used by this IIOTransducer
instance.getReader()
public void setWriter(java.io.Writer aWriter)
aWriter
- the Writer instance to be used by this IIOTransducer
instance.getWriter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |