|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.osgi.deployment.maven.manifest.OrderedManifest
public class OrderedManifest
The OrderedManifest stores manifest entries in a defined order.
| Field Summary | |
|---|---|
protected static java.lang.String |
CONTENT_TYPE
Content-Type manifest attribute. |
protected static net.sourceforge.osgi.deployment.maven.manifest.OrderedManifest.ManifestEntry |
EMPTY_LINE
An empty line on the manifest. |
static java.util.regex.Pattern |
HEADER_PATTERN
A pattern to verify the header of a manifest entry. |
static java.lang.String |
MANIFEST_VERSION
Manifest-Version manifest attribute. |
| Constructor Summary | |
|---|---|
OrderedManifest()
|
|
| Method Summary | |
|---|---|
void |
add(net.sourceforge.osgi.deployment.maven.manifest.OrderedManifest.ManifestEntry p_manifestEntry)
Add a ManifestEntry to the OrderedManifest. |
void |
add(java.lang.String p_header,
java.lang.String p_value)
Add a key/value pair to the OrderedManifest. |
void |
write(java.io.OutputStream p_out)
Write the current contents of the OrderedManifest into a OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MANIFEST_VERSION
Manifest-Version manifest attribute. This attribute indicates the version number of the manifest standard to which a JAR file's manifest
conforms.
public static final java.util.regex.Pattern HEADER_PATTERN
protected static final java.lang.String CONTENT_TYPE
Content-Type manifest attribute.
protected static final net.sourceforge.osgi.deployment.maven.manifest.OrderedManifest.ManifestEntry EMPTY_LINE
| Constructor Detail |
|---|
public OrderedManifest()
| Method Detail |
|---|
public final void add(net.sourceforge.osgi.deployment.maven.manifest.OrderedManifest.ManifestEntry p_manifestEntry)
ManifestEntry to the OrderedManifest.
p_manifestEntry - the ManifestEntry to add
public final void add(java.lang.String p_header,
java.lang.String p_value)
OrderedManifest.
p_header - The header to addp_value - the value for the header to add
public final void write(java.io.OutputStream p_out)
throws java.io.IOException
OrderedManifest into a OutputStream.
p_out - the OutputStream to write into
java.io.IOException - If the writing of the OrderedManifest fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||