Definition at line 42 of file MemoryFile.java.
Public Member Functions | |
MemoryFile (String completeName, InputStream data) throws IOException | |
specified data stream is close during reading. | |
String | getFileName () |
return the name of the file. | |
java.io.InputStream | getFileDataStream () throws IOException |
return file data as a stream | |
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 | getFileCompleteName () |
return the complete file name of the file (ie: path+separator+name) | |
long | getFileLength () |
return the file data length | |
byte[] | getFileData () throws IOException |
return file data as a byte array | |
Protected Member Functions | |
MemoryFile (InputStream data) throws IOException | |
specified data stream is close during reading. | |
Protected Attributes | |
String | filePath |
file path. |
org.openmobileis.synchro.openmsp.server.util.MemoryFile.MemoryFile | ( | InputStream | data | ) | throws IOException [protected] |
specified data stream is close during reading.
data |
IOException |
Definition at line 62 of file MemoryFile.java.
org.openmobileis.synchro.openmsp.server.util.MemoryFile.MemoryFile | ( | String | completeName, | |
InputStream | data | |||
) | throws IOException |
specified data stream is close during reading.
completeName | ||
data |
IOException |
Definition at line 78 of file MemoryFile.java.
References org.openmobileis.synchro.openmsp.server.util.MemoryFile.filePath.
String org.openmobileis.synchro.openmsp.server.util.MemoryFile.getFileName | ( | ) |
return the name of the file.
The name doesnot contain file path.
Implements org.openmobileis.synchro.openmsp.server.util.OpenMISFile.
Definition at line 119 of file MemoryFile.java.
String org.openmobileis.synchro.openmsp.server.util.MemoryFile.getFilePath | ( | ) |
return the path of the file without the file name.
The path end with system separator.
Implements org.openmobileis.synchro.openmsp.server.util.OpenMISFile.
Definition at line 133 of file MemoryFile.java.
References org.openmobileis.synchro.openmsp.server.util.MemoryFile.filePath.
String org.openmobileis.synchro.openmsp.server.util.MemoryFile.filePath [protected] |
file path.
End with path separator
Definition at line 49 of file MemoryFile.java.
Referenced by org.openmobileis.synchro.openmsp.server.util.MemoryFile.getFileCompleteName(), org.openmobileis.synchro.openmsp.server.util.MemoryFile.getFilePath(), and org.openmobileis.synchro.openmsp.server.util.MemoryFile.MemoryFile().