|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.property.FileFactory
public class FileFactory
Class for serializing and deserializing java.io.File objects
| Constructor Summary | |
|---|---|
FileFactory()
|
|
| Method Summary | |
|---|---|
java.lang.String |
exportToString(java.io.File type,
Graph g)
Create a string representing the contents of this object. |
java.io.File |
importFromString(java.lang.String data,
Graph g)
Create an instance of this type from a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileFactory()
| Method Detail |
|---|
public java.io.File importFromString(java.lang.String data,
Graph g)
PropertyValueFactory
importFromString in interface PropertyValueFactory<java.io.File>data - string containing the data used to create the objectg - graph context of the string
public java.lang.String exportToString(java.io.File type,
Graph g)
PropertyValueFactory
exportToString in interface PropertyValueFactory<java.io.File>type - object to be serializedg - graph context of the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||