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

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

org.openmobileis.synchro.openmsp.server.util.FileStoredOpenMISFile org.openmobileis.synchro.openmsp.server.util.MemoryFile org.openmobileis.synchro.openmsp.server.util.ZipEntryFile org.openmobileis.synchro.openmsp.server.util.FileStoreZipEntryFile org.openmobileis.synchro.openmsp.server.util.MemoryZipEntryFile org.openmobileis.synchro.openmsp.server.util.ZipEntryMemoryFile org.openmobileis.synchro.openmsp.server.util.FileStoreZipEntryFile org.openmobileis.synchro.openmsp.server.util.MemoryZipEntryFile

List of all members.


Detailed Description

Title: OpenMobileIS project source
Description: base file for virtual file system.

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

Definition at line 42 of file OpenMISFile.java.


Public Member Functions

String getFileName ()
 return the name of the file.
java.io.InputStream getFileDataStream () throws IOException
 return file data as a stream
byte[] getFileData () throws IOException
 return file data as a byte array
long getFileLength ()
 return the file data length
String getFileCompleteName ()
 return the complete file name of the file (ie: path+separator+name)
String getFilePath ()
 return the path of the file without the file name.
long getFileDate ()
 return file last modification date
void setFileDate (java.util.Date date)
 set file last modification date

Member Function Documentation

String org.openmobileis.synchro.openmsp.server.util.OpenMISFile.getFileName (  ) 

return the name of the file.

The name doesnot contain file path.

Implemented in org.openmobileis.synchro.openmsp.server.util.FileStoredOpenMISFile, and org.openmobileis.synchro.openmsp.server.util.MemoryFile.

String org.openmobileis.synchro.openmsp.server.util.OpenMISFile.getFilePath (  ) 

return the path of the file without the file name.

The path end with system separator.

Implemented in org.openmobileis.synchro.openmsp.server.util.FileStoredOpenMISFile, and org.openmobileis.synchro.openmsp.server.util.MemoryFile.

Referenced by org.openmobileis.synchro.openmsp.server.util.MemoryFileSystem.saveToDisk().


The documentation for this interface was generated from the following file:
Generated on Mon Jan 11 21:19:23 2010 for OpenMobileIS by  doxygen 1.5.4