Class FileManager
java.lang.Object
de.uka.ipd.sdq.sensorframework.dao.file.FileManager
Deprecated.
Superseded by EDP2.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOpenList
(BackgroundMemoryList<?> list) Deprecated.Add a new BackgroundMemoryList to this class's registry of open listsvoid
Deprecated.Closes all lists registered in this class' registry of open background listsdeserializeFromFile
(File file) Deprecated.Read the object stored in the given filedeserializeFromFile
(String fileName) Deprecated.Read the object stored in the given filevoid
flush()
Deprecated.Flushes all open lists so that they use only little memory.Deprecated.Deprecated.boolean
removeFile
(String filename) Deprecated.Delete the given filevoid
serializeToFile
(String filename, Serializable ser) Deprecated.Write the given serializable into the given file using Java's object serialisation mechanism
-
Constructor Details
-
FileManager
Deprecated.
-
-
Method Details
-
removeFile
Deprecated.Delete the given file- Parameters:
filename
- Name of the file to delete- Returns:
- true if deletion was successful
-
serializeToFile
Deprecated.Write the given serializable into the given file using Java's object serialisation mechanism- Parameters:
filename
- Name of the file in which the data is writtenser
- The object to persist
-
deserializeFromFile
Deprecated.Read the object stored in the given file- Parameters:
fileName
- The file from which to read the data- Returns:
- The object persisted in the given file
-
deserializeFromFile
Deprecated.Read the object stored in the given file- Parameters:
file
- The file from which to read the data- Returns:
- The object persisted in the given file
-
getRootDirectory
Deprecated. -
addOpenList
Deprecated.Add a new BackgroundMemoryList to this class's registry of open lists- Parameters:
list
- The list to add to the registry for closing on termination
-
closeAllLists
public void closeAllLists()Deprecated.Closes all lists registered in this class' registry of open background lists -
getDAOFactory
Deprecated. -
flush
public void flush()Deprecated.Flushes all open lists so that they use only little memory.
-