net.sourceforge.esw.collection
Class SystemPropertiesTransducer
java.lang.Object
|
+--net.sourceforge.esw.collection.ATransducer
|
+--net.sourceforge.esw.collection.SystemPropertiesTransducer
- All Implemented Interfaces:
- ITransducer, java.io.Serializable
- public class SystemPropertiesTransducer
- extends ATransducer
- implements ITransducer
Performs Transduction between the java.lang.System properties and an
IMetaCollection
instance.
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.
- See Also:
IMetaCollection
, Serialized Form
Method Summary |
void |
get(IMetaCollection aCollection)
Gets the data source's data represented by this ITransducer
instance into the referenced IMetaCollection instance. |
void |
put(IMetaCollection aCollection)
Puts the referenced IMetaCollection instance's data into the
data source represented by this ITransducer instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemPropertiesTransducer
public SystemPropertiesTransducer()
- Creates a new
SystemPropertiesTransducer
instance.
put
public void put(IMetaCollection aCollection)
throws TransducerException
- Puts the referenced
IMetaCollection
instance's data into the
data source represented by this ITransducer
instance.
- Specified by:
put
in interface ITransducer
- Parameters:
aCollection
- the IMetaCollection
instance from which to
take data.- Throws:
TransducerException
- if an error occurs during transduction.- See Also:
get( IMetaCollection )
get
public void get(IMetaCollection aCollection)
throws TransducerException
- Gets the data source's data represented by this
ITransducer
instance into the referenced IMetaCollection
instance.
- Specified by:
get
in interface ITransducer
- Parameters:
aCollection
- the IMetaCollection
instance into which to
read.- Throws:
TransducerException
- if an error occurs during transduction.- See Also:
put( IMetaCollection )
Copyright 2002 Free Software Foundation. All Rights Reserved.