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