|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.penguinwerks.jodene.managers.DataReaderManager
| Method Summary | |
void |
addNetwork(DataReader reader,
DataStorageTag tag,
java.lang.String name)
Add a new data reader to the vault. |
void |
addNetwork(DataReader reader,
java.lang.String name)
Add a data reader to the vault, using the default data storage tag. |
void |
cleanVault()
Cleans the vault of all data readers. |
static DataReaderManager |
getManager()
Returns an instance of the data reader manager. |
DataReader |
getReader(java.lang.String name)
Returns the named data reader from the vault. |
DataStorageTag |
getStorageTag(java.lang.String name)
Returns the data storage tag for the named data reader. |
java.lang.String |
getVaultDirectory()
Returns the base directory for the vault. |
java.util.List |
listReaders()
Lists the data readers in the vault. |
void |
removeReader(java.lang.String name)
Remove the data reader from the vault. |
void |
setVaultDirectory(java.lang.String directory)
Set the directory path for the data reader vault. |
void |
updateReader(DataReader reader,
DataStorageTag tag,
java.lang.String name)
Update the given data reader and the data storage tag. |
void |
updateReader(DataReader reader,
java.lang.String name)
Update the given data reader without changing the data storage tag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static DataReaderManager getManager()
public void addNetwork(DataReader reader,
DataStorageTag tag,
java.lang.String name)
throws java.io.IOException
reader - The data reader.tag - The storage tag for this network.name - The name of the network.
IOException - Thrown if there is a problem adding this network.
public void addNetwork(DataReader reader,
java.lang.String name)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
reader - The data reader.name - The name of the network.
FileNotFoundException - Thrown if there is a problem saving the network.
IOException - Thrown if there is a porblem saving the network.
java.lang.ClassNotFoundException - Thrown if there is a problem saving the network.public void cleanVault()
public java.lang.String getVaultDirectory()
public DataReader getReader(java.lang.String name)
throws java.io.IOException,
java.lang.ClassNotFoundException
name - The name of the data reader.
IOException - Thrown if there is a problem reading the network.
java.lang.ClassNotFoundException - Thrown if there is a problem retrieving the network.
public DataStorageTag getStorageTag(java.lang.String name)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
name - The name of the data reader.
FileNotFoundException - Thrown if there is a problem reading the tag.
IOException - Thrown if there is a problem reading the tag.
java.lang.ClassNotFoundException - Thrown if there is a problem reading the tag.public java.util.List listReaders()
public void removeReader(java.lang.String name)
name - The name of the data reader to remove.public void setVaultDirectory(java.lang.String directory)
directory - The file path to the data reader vault.
public void updateReader(DataReader reader,
java.lang.String name)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
reader - The data reader configuration.name - The name of the data reader to update.
FileNotFoundException - Thrown if there is a problem saving the network.
IOException - Thrown if there is a problem saving the network.
java.lang.ClassNotFoundException - Thrown if there is a problem saving the network.
public void updateReader(DataReader reader,
DataStorageTag tag,
java.lang.String name)
throws java.io.IOException
reader - The data reader configuration.tag - The storage tag to update.name - The name of the network.
IOException - Thrown if there is an error updating the network.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||