Package com.sun.enterprise.module.single
Class ManifestProxy
- java.lang.Object
-
- java.util.jar.Manifest
-
- com.sun.enterprise.module.single.ManifestProxy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManifestProxy.SeparatorMappings
-
Field Summary
Fields Modifier and Type Field Description Map<String,Attributes>
attributes
Attributes
mainAttributes
Map<String,String>
mappings
-
Constructor Summary
Constructors Constructor Description ManifestProxy(ClassLoader cl, List<ManifestProxy.SeparatorMappings> mappings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Attributes
getAttributes(String name)
Map<String,Attributes>
getEntries()
Attributes
getMainAttributes()
void
read(InputStream is)
void
write(OutputStream out)
-
-
-
Field Detail
-
attributes
public final Map<String,Attributes> attributes
-
mainAttributes
public final Attributes mainAttributes
-
-
Constructor Detail
-
ManifestProxy
public ManifestProxy(ClassLoader cl, List<ManifestProxy.SeparatorMappings> mappings) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getMainAttributes
public Attributes getMainAttributes()
- Overrides:
getMainAttributes
in classManifest
-
getEntries
public Map<String,Attributes> getEntries()
- Overrides:
getEntries
in classManifest
-
getAttributes
public Attributes getAttributes(String name)
- Overrides:
getAttributes
in classManifest
-
write
public void write(OutputStream out) throws IOException
- Overrides:
write
in classManifest
- Throws:
IOException
-
read
public void read(InputStream is) throws IOException
- Overrides:
read
in classManifest
- Throws:
IOException
-
-