Inheritance diagram for org.openmobileis.synchro.openmsp.server.util.FileSystem:
Definition at line 40 of file FileSystem.java.
Public Member Functions | |
OpenMISFile | getFile (String completefileName) |
return null if not found. | |
void | addFile (OpenMISFile file) throws IOException |
Extends this method to add your own file management before adding a file. | |
void | saveToDisk (String beginPath) throws IOException |
save all manager file to disk using beginpath for base file repository | |
void | clear () |
clear all file in the file system. |
OpenMISFile org.openmobileis.synchro.openmsp.server.util.FileSystem.getFile | ( | String | completefileName | ) |
return null if not found.
Specify the the completeFileName
Implemented in org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.
void org.openmobileis.synchro.openmsp.server.util.FileSystem.addFile | ( | OpenMISFile | file | ) | throws IOException |
Extends this method to add your own file management before adding a file.
call super.addFile to add the file to the existing file memory management.
Implemented in org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.
Referenced by org.openmobileis.synchro.openmsp.server.OpenMSPService.run().
void org.openmobileis.synchro.openmsp.server.util.FileSystem.saveToDisk | ( | String | beginPath | ) | throws IOException |
save all manager file to disk using beginpath for base file repository
String | beginPath : base path of file. Must be terminated by the the file separator |
Implemented in org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.