Modifier and Type | Method and Description |
---|---|
static Filter<ArchivePath> |
Filters.exclude(Class<?>... classes)
|
static Filter<ArchivePath> |
Filters.exclude(Package... packages)
|
static Filter<ArchivePath> |
Filters.exclude(String regexp)
|
static Filter<ArchivePath> |
Filters.excludePaths(Collection<String> paths)
Filter that exclude all ArchivePath s that match the given List of paths. |
static Filter<ArchivePath> |
Filters.excludePaths(String... paths)
Filter that exclude all ArchivePath s that match the given List of paths. |
static Filter<ArchivePath> |
Filters.include(Class<?>... classes)
|
static Filter<ArchivePath> |
Filters.include(Package... packages)
|
static Filter<ArchivePath> |
Filters.include(String regexp)
|
static Filter<ArchivePath> |
Filters.includeAll()
Filter that includes all ArchivePath s. |
static Filter<ArchivePath> |
Filters.includePaths(Collection<String> paths)
Filer that include all ArchivePath s that match the given List of paths.. |
static Filter<ArchivePath> |
Filters.includePaths(String... paths)
Filer that include all ArchivePath s that match the given List of paths.. |
Modifier and Type | Method and Description |
---|---|
T |
Archive.filter(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive as a new Archive.
This is an alias for shallowCopy(Filter). |
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter)
Get all nested
Archive matching the filter as a specific type.The found Archives must have been added as a Archive, no import is performed. |
<X extends Archive<X>> |
Archive.getAsType(Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveFormat)
Get all nested
Archive matching the filter as a specific type using the specify ArchiveFormat . |
Map<ArchivePath,Node> |
Archive.getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.
|
T |
Archive.merge(Archive<?> source,
ArchivePath path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the
context path.
|
T |
Archive.merge(Archive<?> source,
Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.
|
T |
Archive.merge(Archive<?> source,
String path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the
context path.
|
Archive<T> |
Archive.shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of this
Archive based on given filter.Assets from this archive are made available
under the same paths. |
Modifier and Type | Method and Description |
---|---|
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages)
|
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages)
|
T |
ClassContainer.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages)
|
T |
ClassContainer.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages)
|
Modifier and Type | Method and Description |
---|---|
ExplodedImporter |
ExplodedImporter.importDirectory(File file,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
ExplodedImporter |
ExplodedImporter.importDirectory(String fileName,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
I |
StreamImporter.importFrom(File file,
Filter<ArchivePath> filter)
Imports provided File as a
Archive . |
I |
StreamImporter.importFrom(InputStream stream,
Filter<ArchivePath> filter)
Imports provided stream as a
Archive . |
Modifier and Type | Method and Description |
---|---|
T |
ArchiveBase.filter(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive as a new Archive.
This is an alias for shallowCopy(Filter). |
<X extends Archive<X>> |
ArchiveBase.getAsType(Class<X> type,
Filter<ArchivePath> filter)
Get all nested
Archive matching the filter as a specific type.The found Archives must have been added as a Archive, no import is performed. |
<X extends Archive<X>> |
ArchiveBase.getAsType(Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveFormat)
Get all nested
Archive matching the filter as a specific type using the specify ArchiveFormat . |
Map<ArchivePath,Node> |
MemoryMapArchiveBase.getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.
|
T |
ArchiveBase.merge(Archive<?> source,
ArchivePath path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the
context path.
|
T |
ArchiveBase.merge(Archive<?> source,
Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.
|
T |
ArchiveBase.merge(Archive<?> source,
String path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the
context path.
|
Archive<T> |
ArchiveBase.shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of this
Archive based on given filter.Assets from this archive are made available
under the same paths. |
Modifier and Type | Method and Description |
---|---|
T |
ContainerBase.addPackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages) |
T |
ContainerBase.addPackages(boolean recursive,
Filter<ArchivePath> filter,
String... packageNames) |
T |
ContainerBase.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages) |
T |
ContainerBase.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages) |
T |
ContainerBase.filter(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive as a new Archive.
This is an alias for shallowCopy(Filter). |
<X extends Archive<X>> |
ContainerBase.getAsType(Class<X> type,
Filter<ArchivePath> filter)
Get all nested
Archive matching the filter as a specific type.The found Archives must have been added as a Archive, no import is performed. |
<X extends Archive<X>> |
ContainerBase.getAsType(Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveCompression)
Get all nested
Archive matching the filter as a specific type using the specify ArchiveFormat . |
Map<ArchivePath,Node> |
ContainerBase.getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.
|
T |
ContainerBase.merge(Archive<?> source,
ArchivePath path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the
context path.
|
T |
ContainerBase.merge(Archive<?> source,
Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.
|
T |
ContainerBase.merge(Archive<?> source,
String path,
Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the
context path.
|
Archive<T> |
ContainerBase.shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of this
Archive based on given filter.Assets from this archive are made available
under the same paths. |
Modifier and Type | Class and Description |
---|---|
class |
ExcludePaths
IncludePaths
Filter to exclude all
ArchivePath s that match the given List of paths. |
class |
ExcludeRegExpPaths
IncludeRegExpPath
Filter to exclude all
ArchivePath s that match a given Regular Expression. |
class |
IncludeAllClasses
IncludeAllClasses
Filter to include all
Class s |
class |
IncludeAllPaths
IncludeAllPaths
Filter that include all
ArchivePath s. |
class |
IncludePaths
IncludePaths
Filter to include all
ArchivePath s that match the given List of paths. |
class |
IncludeRegExpPaths
IncludeRegExpPath
Filter to include all
ArchivePath s that match a given Regular Expression. |
Modifier and Type | Method and Description |
---|---|
ExplodedImporter |
ExplodedImporterImpl.importDirectory(File file,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
ExplodedImporter |
ExplodedImporterImpl.importDirectory(String fileName,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
Modifier and Type | Method and Description |
---|---|
ZipImporter |
ZipImporterImpl.importFrom(File file,
Filter<ArchivePath> filter)
Imports provided File as a
Archive . |
ZipImporter |
ZipImporterImpl.importFrom(InputStream stream,
Filter<ArchivePath> filter)
Imports provided stream as a
Archive . |
Copyright © 2016 JBoss by Red Hat. All rights reserved.