public final class ApplicationArchiveImpl extends MultiBuildItem implements ApplicationArchive, Closeable
| Constructor and Description |
|---|
ApplicationArchiveImpl(org.jboss.jandex.IndexView indexView,
Path archiveRoot,
Closeable closeable,
boolean jar,
Path archiveLocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Path |
getArchiveLocation()
If this archive is a jar file it will return the path to the jar file on the file system,
otherwise it will return the directory that this corresponds to.
|
Path |
getArchiveRoot()
Returns a path representing the archive root.
|
org.jboss.jandex.IndexView |
getIndex() |
boolean |
isJarArchive() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildPathpublic org.jboss.jandex.IndexView getIndex()
getIndex in interface ApplicationArchivepublic Path getArchiveRoot()
ApplicationArchivecom.sun.nio.zipfs.ZipFileSystemgetArchiveRoot in interface ApplicationArchivepublic boolean isJarArchive()
isJarArchive in interface ApplicationArchivetrue if this archive is a jarpublic Path getArchiveLocation()
ApplicationArchivegetArchiveLocation in interface ApplicationArchivepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.