org.openmobileis.common.util.file
Class OpenMisArchive

java.lang.Object
  extended byorg.openmobileis.common.util.file.OpenMisArchive

public class OpenMisArchive
extends java.lang.Object

Author:
pdelrieu

Constructor Summary
OpenMisArchive()
           
 
Method Summary
 void addEntry(OpenMisArchiveEntry entry)
           
 void addEntry(java.lang.String name, byte[] data)
           
static OpenMisArchive decodeArchive(byte[] archive)
           
 byte[] encodeArchive()
           
 OpenMisArchiveEntry getEntry(int index)
           
 int getEntryCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenMisArchive

public OpenMisArchive()
Method Detail

addEntry

public void addEntry(OpenMisArchiveEntry entry)

addEntry

public void addEntry(java.lang.String name,
                     byte[] data)

getEntry

public OpenMisArchiveEntry getEntry(int index)

getEntryCount

public int getEntryCount()

encodeArchive

public byte[] encodeArchive()
                     throws java.io.IOException
Throws:
java.io.IOException

decodeArchive

public static OpenMisArchive decodeArchive(byte[] archive)
                                    throws java.io.IOException
Throws:
java.io.IOException


Copyright 2006 OpenMobileIS. All Rights Reserved.