|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infovis.utils.BasicFactory infovis.io.AbstractWriterFactory
public abstract class AbstractWriterFactory
Class AbstractWriterFactory
Nested Class Summary | |
---|---|
static class |
AbstractWriterFactory.AbstractCreator
|
static interface |
AbstractWriterFactory.Creator
|
Constructor Summary | |
---|---|
AbstractWriterFactory(String factoryName)
|
Method Summary | |
---|---|
void |
add(AbstractWriterFactory.Creator c)
Adds a creator of table reader. |
AbstractWriter |
create(String name,
Table table)
Returns an AbstractReader able to read the specified
resource name or null . |
AbstractWriterFactory.Creator |
getCreatorAt(int index)
Returns the Creator at a specified index. |
AbstractWriterFactory.Creator |
getCreatorNamed(String name)
|
Iterator |
iterator()
Returns an iterator over the added creators. |
boolean |
remove(AbstractWriterFactory.Creator c)
Removes a creator of table reader. |
boolean |
tryWrite(String name,
Table table)
|
Methods inherited from class infovis.utils.BasicFactory |
---|
loadProperties |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractWriterFactory(String factoryName)
Method Detail |
---|
public void add(AbstractWriterFactory.Creator c)
c
- the Creator.public boolean remove(AbstractWriterFactory.Creator c)
c
- the Creator.
true
if the Creator was removed.public Iterator iterator()
public AbstractWriterFactory.Creator getCreatorAt(int index)
index
- the index.
public AbstractWriterFactory.Creator getCreatorNamed(String name)
public AbstractWriter create(String name, Table table)
AbstractReader
able to read the specified
resource name or null
.
name
- the resource name.table
- the table.
AbstractReader
able to read the specified
resource name or null
.public boolean tryWrite(String name, Table table)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |