com.sun.enterprise.v3.server
Class CompositeArchive
java.lang.Object
com.sun.enterprise.deploy.shared.AbstractReadableArchive
com.sun.enterprise.v3.server.CompositeArchive
- All Implemented Interfaces:
- Archive, ReadableArchive
public class CompositeArchive
- extends AbstractReadableArchive
A composite archive is a readable archive that hides the sub archives.
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeArchive
public CompositeArchive(ReadableArchive delegate,
CompositeHandler filter)
getEntry
public InputStream getEntry(String name)
throws IOException
- Throws:
IOException
exists
public boolean exists(String name)
throws IOException
- Throws:
IOException
getEntrySize
public long getEntrySize(String name)
open
public void open(URI uri)
throws IOException
- Throws:
IOException
getSubArchive
public ReadableArchive getSubArchive(String name)
throws IOException
- Throws:
IOException
exists
public boolean exists()
delete
public boolean delete()
renameTo
public boolean renameTo(String name)
close
public void close()
throws IOException
- Throws:
IOException
entries
public Enumeration<String> entries()
entries
public Enumeration<String> entries(String prefix)
isDirectory
public boolean isDirectory(String name)
getManifest
public Manifest getManifest()
throws IOException
- Throws:
IOException
getURI
public URI getURI()
getArchiveSize
public long getArchiveSize()
throws SecurityException
- Throws:
SecurityException
getName
public String getName()
getDirectories
public Collection<String> getDirectories()
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.