Modifier and Type | Method and Description |
---|---|
private static Filter<ArchivePath> |
Filters.createRegExpFilter(java.lang.String regExpFilterImplName,
java.lang.Class<?>... classes) |
private static Filter<ArchivePath> |
Filters.createRegExpFilter(java.lang.String filterClassName,
java.lang.Package... packages) |
static Filter<ArchivePath> |
Filters.exclude(java.lang.Class<?>... classes)
Filter that excludes listed Class . |
static Filter<ArchivePath> |
Filters.exclude(java.lang.Package... packages)
Filter that includes listed Package . |
static Filter<ArchivePath> |
Filters.exclude(java.lang.String regexp)
|
static Filter<ArchivePath> |
Filters.excludePaths(java.util.Collection<java.lang.String> paths)
Filter that exclude all ArchivePath s that match the given List of paths. |
static Filter<ArchivePath> |
Filters.excludePaths(java.lang.String... paths)
Filter that exclude all ArchivePath s that match the given List of paths. |
private static Filter<ArchivePath> |
Filters.getFilterInstance(java.lang.String filterClassName,
java.lang.Class<?>[] ctorTypes,
java.lang.Object[] ctorArguments)
Creates a new
Filter instance using the given impl class name, constructor arguments and type |
static Filter<ArchivePath> |
Filters.include(java.lang.Class<?>... classes)
Filter that includes listed Class . |
static Filter<ArchivePath> |
Filters.include(java.lang.Package... packages)
Filter that excludes listed Package . |
static Filter<ArchivePath> |
Filters.include(java.lang.String regexp)
|
static Filter<ArchivePath> |
Filters.includeAll()
Filter that includes all ArchivePath s. |
static Filter<ArchivePath> |
Filters.includePaths(java.util.Collection<java.lang.String> paths)
Filer that include all ArchivePath s that match the given List of paths.. |
static Filter<ArchivePath> |
Filters.includePaths(java.lang.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(java.lang.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(java.lang.Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveFormat)
Get all nested
Archive matching the filter as a specific type using the specify ArchiveFormat . |
java.util.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,
java.lang.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,
java.lang.Package... packages)
Adds all classes accepted by the filter in the specified
Package s to the Archive . |
T |
ClassContainer.addPackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.String... packages)
Adds all classes accepted by the filter in the specified
Package s to the Archive . |
T |
ClassContainer.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.Package... packages)
Deletes all classes accepted by the filter in the specified
Package s from the Archive . |
T |
ClassContainer.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.String... packages)
Delete all classes accepted by the filter in the specified
Package s from the Archive . |
Modifier and Type | Method and Description |
---|---|
ExplodedImporter |
ExplodedImporter.importDirectory(java.io.File file,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
ExplodedImporter |
ExplodedImporter.importDirectory(java.lang.String fileName,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
I |
StreamImporter.importFrom(java.io.File file,
Filter<ArchivePath> filter)
Imports provided File as a
Archive . |
I |
StreamImporter.importFrom(java.io.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(java.lang.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(java.lang.Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveFormat)
Get all nested
Archive matching the filter as a specific type using the specify ArchiveFormat . |
java.util.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,
java.lang.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 |
---|---|
private void |
ContainerBase.addPackage(boolean recursive,
Filter<ArchivePath> filter,
java.lang.ClassLoader classLoader,
java.lang.String packageName) |
private T |
ContainerBase.addPackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.ClassLoader cl,
java.lang.Package... packages) |
private T |
ContainerBase.addPackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.ClassLoader classLoader,
java.lang.String... packageNames) |
T |
ContainerBase.addPackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.Package... packages) |
T |
ContainerBase.addPackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.String... packageNames) |
private void |
ContainerBase.deletePackage(boolean recursive,
Filter<ArchivePath> filter,
java.lang.String packageName,
java.lang.ClassLoader classLoader) |
T |
ContainerBase.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.Package... packages) |
T |
ContainerBase.deletePackages(boolean recursive,
Filter<ArchivePath> filter,
java.lang.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(java.lang.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(java.lang.Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveCompression)
Get all nested
Archive matching the filter as a specific type using the specify ArchiveFormat . |
java.util.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,
java.lang.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 |
---|---|
private void |
ExplodedImporterImpl.doImport(java.io.File root,
java.io.File[] files,
Filter<ArchivePath> filter) |
ExplodedImporter |
ExplodedImporterImpl.importDirectory(java.io.File file,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
ExplodedImporter |
ExplodedImporterImpl.importDirectory(java.lang.String fileName,
Filter<ArchivePath> filter)
Import a directory structure as a archive.
|
Modifier and Type | Method and Description |
---|---|
I |
TarImporterBase.importFrom(java.io.File file,
Filter<ArchivePath> filter)
Imports provided File as a
Archive . |
I |
TarImporterBase.importFrom(java.io.InputStream stream,
Filter<ArchivePath> filter)
Imports provided stream as a
Archive . |
private I |
TarImporterBase.importFrom(S stream,
Filter<ArchivePath> filter) |
Modifier and Type | Method and Description |
---|---|
ZipImporter |
ZipImporterImpl.importFrom(java.io.File file,
Filter<ArchivePath> filter)
Imports provided File as a
Archive . |
ZipImporter |
ZipImporterImpl.importFrom(java.io.InputStream stream,
Filter<ArchivePath> filter)
Imports provided stream as a
Archive . |
private ZipImporter |
ZipImporterImpl.importFrom(java.util.zip.ZipFile file,
Filter<ArchivePath> filter) |