org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem Class Reference

Inheritance diagram for org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem:

org.openmobileis.synchro.openmsp.server.util.FileSystem List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: virtual file system in memory.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

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


Member Function Documentation

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

Parameters:
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.


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:43 2006 for OpenMobileIS by  doxygen 1.5.1-p1