Inheritance diagram for org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem:
Definition at line 42 of file MemoryFileSystem.java.
Public Member Functions | |
MemoryFileSystem () | |
MemoryFileSystem (ZipInputStream zipFile) throws IOException | |
MemoryFileSystem (OpenMISFile filelist[]) | |
void | addAll (FileSystem fileSystem) throws IOException |
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. | |
OpenMISFile[] | getFileList () |
void | saveToDisk (String beginPath) throws IOException |
save all manager file to disk using beginpath for base file repository | |
int | getFileCount () |
void | clear () |
clear all file in the file system. | |
void | removeFile (String completefileName) |
Protected Member Functions | |
OpenMISFile | createCyberFile (String completeName, InputStream input) throws IOException |
extends this methods to create the rigth type of OpenMISFile with the file system is created using a ZIP Stream | |
Static Package Attributes | |
static final long | serialVersionUID = 5521257935120563452L |
OpenMISFile org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.getFile | ( | String | completefileName | ) |
return null if not found.
Specify the the completeFileName
Implements org.openmobileis.synchro.openmsp.server.util.FileSystem.
Definition at line 84 of file MemoryFileSystem.java.
void org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.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.
Implements org.openmobileis.synchro.openmsp.server.util.FileSystem.
Definition at line 92 of file MemoryFileSystem.java.
Referenced by org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.addAll().
void org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.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 |
Implements org.openmobileis.synchro.openmsp.server.util.FileSystem.
Definition at line 110 of file MemoryFileSystem.java.