public class Manifest
extends java.lang.Object
Constructor and Description |
---|
Manifest() |
Manifest(byte[] bytes) |
Manifest(java.io.InputStream is)
Parse a manifest from a stream
|
Manifest(java.lang.String[] files) |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(MessageHeader entry) |
void |
addFile(java.io.File f) |
void |
addFiles(java.io.File dir,
java.lang.String[] files) |
java.util.Enumeration |
entries() |
MessageHeader |
entryAt(int i) |
MessageHeader |
getEntry(java.lang.String name) |
static boolean |
isManifestName(java.lang.String name) |
void |
stream(java.io.OutputStream os,
java.util.Vector extraFiles) |
public Manifest()
public Manifest(byte[] bytes) throws java.io.IOException
java.io.IOException
public Manifest(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public Manifest(java.lang.String[] files) throws java.io.IOException
java.io.IOException
public void addEntry(MessageHeader entry)
public MessageHeader getEntry(java.lang.String name)
public MessageHeader entryAt(int i)
public java.util.Enumeration entries()
public void addFiles(java.io.File dir, java.lang.String[] files) throws java.io.IOException
java.io.IOException
public void addFile(java.io.File f) throws java.io.IOException
java.io.IOException
public void stream(java.io.OutputStream os, java.util.Vector extraFiles) throws java.io.IOException
java.io.IOException
public static boolean isManifestName(java.lang.String name)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details