@Service @PerLookup public class MultiReadableArchive extends AbstractReadableArchive
archiveMetaData, extraData| Constructor and Description |
|---|
MultiReadableArchive() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
delete() |
Enumeration<String> |
entries() |
Enumeration<String> |
entries(String prefix) |
boolean |
exists() |
boolean |
exists(String name) |
long |
getArchiveSize() |
Collection<String> |
getDirectories() |
InputStream |
getEntry(String name) |
long |
getEntrySize(String name) |
Manifest |
getManifest() |
String |
getName() |
org.glassfish.api.deployment.archive.ReadableArchive |
getParentArchive()
get the parent archive of this archive
|
org.glassfish.api.deployment.archive.ReadableArchive |
getSubArchive(String name) |
URI |
getURI() |
URI |
getURI(int slot) |
boolean |
isDirectory(String name) |
void |
open(URI... uris) |
void |
open(URI uri) |
boolean |
renameTo(String name) |
void |
setParentArchive(org.glassfish.api.deployment.archive.ReadableArchive parentArchive)
set the parent archive for this archive
|
addArchiveMetaData, getArchiveMetaData, getExtraData, removeArchiveMetaData, removeExtraData, setExtraDatapublic InputStream getEntry(String name) throws IOException
IOExceptionpublic boolean exists(String name) throws IOException
IOExceptionpublic long getEntrySize(String name)
public void open(URI uri) throws IOException
IOExceptionpublic void open(URI... uris) throws IOException
IOExceptionpublic org.glassfish.api.deployment.archive.ReadableArchive getSubArchive(String name) throws IOException
IOExceptionpublic boolean exists()
public boolean delete()
public boolean renameTo(String name)
public void setParentArchive(org.glassfish.api.deployment.archive.ReadableArchive parentArchive)
AbstractReadableArchivesetParentArchive in interface org.glassfish.api.deployment.archive.ReadableArchivesetParentArchive in class AbstractReadableArchiveparentArchive - the parent archivepublic org.glassfish.api.deployment.archive.ReadableArchive getParentArchive()
AbstractReadableArchivegetParentArchive in interface org.glassfish.api.deployment.archive.ReadableArchivegetParentArchive in class AbstractReadableArchivepublic void close()
throws IOException
IOExceptionpublic Enumeration<String> entries()
public Enumeration<String> entries(String prefix)
public Collection<String> getDirectories() throws IOException
IOExceptionpublic boolean isDirectory(String name)
public Manifest getManifest() throws IOException
IOExceptionpublic URI getURI()
public URI getURI(int slot)
public long getArchiveSize()
throws SecurityException
SecurityExceptionpublic String getName()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.