com.sun.enterprise.module.single
Class ManifestProxy

java.lang.Object
  extended by java.util.jar.Manifest
      extended by com.sun.enterprise.module.single.ManifestProxy
All Implemented Interfaces:
Cloneable

public class ManifestProxy
extends Manifest

Implements a manifest proxying

Author:
Jerome Dochez

Nested Class Summary
static class ManifestProxy.SeparatorMappings
           
 
Field Summary
 Map<String,Attributes> attributes
           
 Attributes mainAttributes
           
 Map<String,String> mappings
           
 
Constructor Summary
ManifestProxy(ClassLoader cl, List<ManifestProxy.SeparatorMappings> mappings)
           
 
Method Summary
 void clear()
           
 Attributes getAttributes(String name)
           
 Map<String,Attributes> getEntries()
           
 Attributes getMainAttributes()
           
 void read(InputStream is)
           
 void write(OutputStream out)
           
 
Methods inherited from class java.util.jar.Manifest
clone, equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

public final Map<String,Attributes> attributes

mainAttributes

public final Attributes mainAttributes

mappings

public final Map<String,String> mappings
Constructor Detail

ManifestProxy

public ManifestProxy(ClassLoader cl,
                     List<ManifestProxy.SeparatorMappings> mappings)
              throws IOException
Throws:
IOException
Method Detail

getMainAttributes

public Attributes getMainAttributes()
Overrides:
getMainAttributes in class Manifest

getEntries

public Map<String,Attributes> getEntries()
Overrides:
getEntries in class Manifest

getAttributes

public Attributes getAttributes(String name)
Overrides:
getAttributes in class Manifest

clear

public void clear()
Overrides:
clear in class Manifest

write

public void write(OutputStream out)
           throws IOException
Overrides:
write in class Manifest
Throws:
IOException

read

public void read(InputStream is)
          throws IOException
Overrides:
read in class Manifest
Throws:
IOException


Copyright © 2013 Oracle Corporation. All Rights Reserved.