com.bbn.openmap.tools.beanbox
Class Manifest
java.lang.Object
com.bbn.openmap.tools.beanbox.Manifest
public class Manifest
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Manifest
public Manifest()
Manifest
public Manifest(byte[] bytes)
throws java.io.IOException
- Throws:
java.io.IOException
Manifest
public Manifest(java.io.InputStream is)
throws java.io.IOException
- Parse a manifest from a stream
- Throws:
java.io.IOException
Manifest
public Manifest(java.lang.String[] files)
throws java.io.IOException
- Throws:
java.io.IOException
addEntry
public void addEntry(MessageHeader entry)
getEntry
public MessageHeader getEntry(java.lang.String name)
entryAt
public MessageHeader entryAt(int i)
entries
public java.util.Enumeration entries()
addFiles
public void addFiles(java.io.File dir,
java.lang.String[] files)
throws java.io.IOException
- Throws:
java.io.IOException
addFile
public void addFile(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
stream
public void stream(java.io.OutputStream os,
java.util.Vector extraFiles)
throws java.io.IOException
- Throws:
java.io.IOException
isManifestName
public static boolean isManifestName(java.lang.String name)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details