org.openmobileis.synchro.openmsp.server.util
Class ZipEntryMemoryFile

java.lang.Object
  extended byorg.openmobileis.synchro.openmsp.server.util.MemoryFile
      extended byorg.openmobileis.synchro.openmsp.server.util.ZipEntryMemoryFile
All Implemented Interfaces:
OpenMISFile, OpenMISSerializable, java.io.Serializable

public class ZipEntryMemoryFile
extends MemoryFile

Title: OpenMobileIS project source
Description: Memory file use by synchro processus. Use this file to specify a zip file added to the synchro file. All file with the same zipFileName will be added to this zip file. Use by FODB synchro processus to add all collection file generated by complete synchro to a zip file added to the synchro files.

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmobileis.synchro.openmsp.server.util.MemoryFile
fileData, filedate, fileName, filePath
 
Constructor Summary
ZipEntryMemoryFile()
           
ZipEntryMemoryFile(java.io.InputStream data)
           
ZipEntryMemoryFile(java.lang.String completeName, byte[] data)
           
ZipEntryMemoryFile(java.lang.String completeName, java.io.InputStream data)
           
ZipEntryMemoryFile(java.lang.String name, java.lang.String path, java.io.InputStream data)
           
 
Method Summary
 java.lang.String getZipFileName()
           
 void setZipFileName(java.lang.String zipFileName)
           
 
Methods inherited from class org.openmobileis.synchro.openmsp.server.util.MemoryFile
equals, getFileCompleteName, getFileData, getFileDataStream, getFileDate, getFileLength, getFileName, getFilePath, hashCode, setFileDate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipEntryMemoryFile

public ZipEntryMemoryFile()

ZipEntryMemoryFile

public ZipEntryMemoryFile(java.io.InputStream data)
                   throws java.io.IOException
Parameters:
data -
Throws:
java.io.IOException

ZipEntryMemoryFile

public ZipEntryMemoryFile(java.lang.String completeName,
                          java.io.InputStream data)
                   throws java.io.IOException
Parameters:
completeName -
data -
Throws:
java.io.IOException

ZipEntryMemoryFile

public ZipEntryMemoryFile(java.lang.String completeName,
                          byte[] data)
                   throws java.io.IOException
Parameters:
completeName -
data -
Throws:
java.io.IOException

ZipEntryMemoryFile

public ZipEntryMemoryFile(java.lang.String name,
                          java.lang.String path,
                          java.io.InputStream data)
                   throws java.io.IOException
Parameters:
name -
path -
data -
Throws:
java.io.IOException
Method Detail

getZipFileName

public java.lang.String getZipFileName()

setZipFileName

public void setZipFileName(java.lang.String zipFileName)


Copyright 2006 OpenMobileIS. All Rights Reserved.