public class ConfigBeanArchive
extends com.sun.enterprise.deploy.shared.AbstractReadableArchive
| Constructor and Description |
|---|
ConfigBeanArchive(javax.enterprise.deploy.model.DeployableObject deployObject)
Creates a new instance of ConfigBeanArchive
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close the abstract archive
|
void |
closeEntry() |
void |
closeEntry(OutputStream os)
close a previously returned @see java.io.OutputStream returned
by an addEntry call
|
void |
closeEntry(org.glassfish.api.deployment.archive.ReadableArchive os)
close a previously returned @see java.io.OutputStream returned
by an addEntry call
|
boolean |
delete()
delete the archive
|
Enumeration |
entries() |
Enumeration<String> |
entries(String prefix) |
boolean |
exists() |
boolean |
exists(String name) |
long |
getArchiveSize() |
String |
getArchiveUri() |
Collection<String> |
getDirectories() |
InputStream |
getEntry(String name) |
long |
getEntrySize(String name) |
Manifest |
getManifest() |
String |
getName() |
org.glassfish.api.deployment.archive.ReadableArchive |
getSubArchive(String name)
create or obtain a subarchive within this abstraction.
|
URI |
getURI() |
boolean |
isDirectory(String name) |
void |
open(URI uri) |
boolean |
renameTo(String name)
rename the archive
|
boolean |
supportsElementsOverwriting() |
public ConfigBeanArchive(javax.enterprise.deploy.model.DeployableObject deployObject)
public void close()
throws IOException
IOExceptionpublic void closeEntry(org.glassfish.api.deployment.archive.ReadableArchive os)
throws IOException
the - output stream to closeIOExceptionpublic void closeEntry(OutputStream os) throws IOException
the - output stream to closeIOExceptionpublic boolean delete()
public Enumeration entries()
public Enumeration<String> entries(String prefix)
public Collection<String> getDirectories() throws IOException
IOExceptionpublic boolean isDirectory(String name)
public String getName()
public boolean exists()
public boolean exists(String name) throws IOException
IOExceptionpublic String getArchiveUri()
public long getEntrySize(String name)
public void open(URI uri) throws IOException
IOExceptionpublic long getArchiveSize()
throws NullPointerException,
SecurityException
NullPointerExceptionSecurityExceptionpublic org.glassfish.api.deployment.archive.ReadableArchive getSubArchive(String name) throws IOException
the - name of the subarchive.IOExceptionpublic InputStream getEntry(String name) throws IOException
the - entry nameIOExceptionpublic Manifest getManifest() throws IOException
IOExceptionpublic boolean renameTo(String name)
name - the archive namepublic boolean supportsElementsOverwriting()
public void closeEntry()
throws IOException
IOExceptionpublic URI getURI()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.