|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.utils.BasicFactory
infovis.io.AbstractReaderFactory
infovis.table.io.TableReaderFactory
public class TableReaderFactory
Factory of table readers.
| Nested Class Summary | |
|---|---|
static class |
TableReaderFactory.DefaultCreator
Default creator class for table readers. |
| Nested classes/interfaces inherited from class infovis.io.AbstractReaderFactory |
|---|
AbstractReaderFactory.AbstractCreator, AbstractReaderFactory.Creator |
| Constructor Summary | |
|---|---|
TableReaderFactory()
Constructor. |
|
| Method Summary | |
|---|---|
static AbstractReader |
createTableReader(String name,
Table table)
Returns a reader or null from a format name and a table. |
static TableReaderFactory |
getInstance()
Returns the instance of the factory. |
static boolean |
readTable(String name,
Table table)
Reads a table from a resource name. |
static void |
setInstance(TableReaderFactory factory)
Sets the instance of the factory. |
| Methods inherited from class infovis.io.AbstractReaderFactory |
|---|
add, create, create, getCreatorAt, getCreatorNamed, iterator, remove, tryRead |
| 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 TableReaderFactory()
| Method Detail |
|---|
public static TableReaderFactory getInstance()
public static void setInstance(TableReaderFactory factory)
factory - the factory
public static AbstractReader createTableReader(String name,
Table table)
name - the nametable - the table
public static boolean readTable(String name,
Table table)
name - the nametable - the table
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||