| Package | Description |
|---|---|
| net.sf.mmm.util.file.base |
Contains public implementations of
File-utilities. |
| net.sf.mmm.util.resource.api |
Provides the API for utilities that help to load resources from arbitrary sources.
|
| net.sf.mmm.util.resource.impl |
Contains the implementation of the
resource-API. |
| Modifier and Type | Method and Description |
|---|---|
private void |
FileUtilImpl.collectMatchingFiles(File cwd,
List<ResourcePathNode<Pattern>> segments,
int segmentIndex,
FileType fileType,
List<File> list)
This method adds all files matching with the given
path and fileType to the list. |
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourcePathNode.ResourcePathRootAbsolute<D>
Implementation of Unix/Linux absolute root.
|
static class |
ResourcePathNode.ResourcePathRootHome<D>
Implementation of home absolute root (~ or ~login).
|
static class |
ResourcePathNode.ResourcePathRootRelative<D>
Implementation of relative root.
|
static class |
ResourcePathNode.ResourcePathRootUnc<D>
Implementation of UNC absolute root.
|
static class |
ResourcePathNode.ResourcePathRootUrl<D>
Implementation of Unix/Linux absolute root.
|
static class |
ResourcePathNode.ResourcePathRootWindows<D>
Implementation of Windows absolute root drive.
|
| Modifier and Type | Field and Description |
|---|---|
private ResourcePathNode<D> |
ResourcePathNode.parent |
static ResourcePathNode<Void> |
ResourcePathNode.ROOT_ABSOLUTE
|
static ResourcePathNode<Void> |
ResourcePathNode.ROOT_HOME
|
static ResourcePathNode<Void> |
ResourcePathNode.ROOT_RELATIVE
|
| Modifier and Type | Field and Description |
|---|---|
private static Function<ResourcePathNode<Pattern>,Pattern> |
ResourcePathNode.GLOB_PATTERN_FUNCTION
The
Void data function. |
private static Function<ResourcePathNode<Void>,Void> |
ResourcePathNode.VOID_FUNCTION
The
Void data function. |
| Modifier and Type | Method and Description |
|---|---|
static ResourcePathNode<Void> |
ResourcePathNode.create(String path)
Creates a normalized
ResourcePathNode. |
static <D> ResourcePathNode<D> |
ResourcePathNode.create(String path,
Function<ResourcePathNode<D>,D> dataFunction)
Flexible implementation of
create(String) to custom data function. |
static ResourcePathNode<Pattern> |
ResourcePathNode.createPattern(String path)
|
private static <D> ResourcePathNode<D> |
ResourcePathNode.createRootPathSegment(CharSequenceScanner scanner,
String originalPath,
Function<ResourcePathNode<D>,D> dataFunction) |
ResourcePathNode<D> |
ResourcePathNode.getParent() |
ResourcePathNode<D> |
ResourcePathNode.getRoot() |
private ResourcePathNode<D> |
ResourcePathNode.navigateFrom(ResourcePathNode<D> resourcePath)
Recursive and inverted implementation of
navigateTo(ResourcePathNode). |
ResourcePathNode<D> |
ResourcePathNode.navigateTo(ResourcePathNode<D> path) |
private ResourcePathNode<D> |
ResourcePathNode.navigateUp() |
| Modifier and Type | Method and Description |
|---|---|
List<ResourcePathNode<D>> |
ResourcePathNode.asList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResourcePathNode.matches(ResourcePathNode<Pattern> patternPath)
Checks if this
ResourcePathNode matches to the given pattern path. |
private ResourcePathNode<D> |
ResourcePathNode.navigateFrom(ResourcePathNode<D> resourcePath)
Recursive and inverted implementation of
navigateTo(ResourcePathNode). |
ResourcePathNode<D> |
ResourcePathNode.navigateTo(ResourcePathNode<D> path) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourcePathNode.collectFromRoot(Collection<ResourcePathNode<D>> nodes)
|
static <D> ResourcePathNode<D> |
ResourcePathNode.create(String path,
Function<ResourcePathNode<D>,D> dataFunction)
Flexible implementation of
create(String) to custom data function. |
private static <D> ResourcePathNode<D> |
ResourcePathNode.createRootPathSegment(CharSequenceScanner scanner,
String originalPath,
Function<ResourcePathNode<D>,D> dataFunction) |
| Constructor and Description |
|---|
ResourcePathNode(ResourcePathNode<D> parent,
String name,
D data)
The constructor.
|
ResourcePathNode(ResourcePathNode<D> parent,
String name,
Function<ResourcePathNode<D>,D> dataFunction)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private ClasspathFolder |
ClasspathScannerImpl.createFolderRecursive(ResourcePathNode<Void> path,
ClasspathFolder rootFolder) |
(package private) AbstractBrowsableClasspathResource |
ClasspathFolder.navigate(ResourcePathNode<Void> path,
boolean create) |
Copyright © 2001–2016 mmm-Team. All rights reserved.