Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

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

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().

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.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 Wed Dec 14 21:05:40 2005 for OpenMobileIS by  doxygen 1.4.4