org.openmobileis.synchro.openmsp.server.util.FileSystem Interface Reference

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

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

Detailed Description

Title: OpenMobileIS project source
Description: define a virtual file system to manipulate file in memory.

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

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.


Member Function Documentation

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

Parameters:
String beginPath : base path of file. Must be terminated by the the file separator

Implemented in org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.


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