| Package | Description |
|---|---|
| net.sf.mmm.util.nls.api |
Provides the API for the native language support (NLS).
|
| net.sf.mmm.util.nls.base |
Contains the basis for implementations of the native language support (NLS) API.
|
| net.sf.mmm.util.reflect.api |
Provides the API for utilities that help to deal with reflection.
|
| net.sf.mmm.util.reflect.base |
Contains the base-implementations of the
Reflection-Util API. |
| net.sf.mmm.util.resource.api |
Provides the API for utilities that help to load
resources from arbitrary
sources. |
| net.sf.mmm.util.resource.base |
Contains the base implementation of the resource API.
|
| net.sf.mmm.util.resource.impl |
Contains the implementation of the resource API.
|
| Modifier and Type | Method and Description |
|---|---|
DataResource |
NlsResourceLocator.findResource(Class<?> type,
String extension,
Locale locale)
|
DataResource |
NlsResourceLocator.findResource(String pathAndBasicName,
String extension,
Locale locale)
This method finds a localized
resource. |
| Modifier and Type | Method and Description |
|---|---|
DataResource |
DefaultNlsResourceLocator.findResource(Class<?> type,
String extension,
Locale locale)
|
DataResource |
DefaultNlsResourceLocator.findResource(String pathAndBasicName,
String extension,
Locale locale)
This method finds a localized
resource. |
| Modifier and Type | Method and Description |
|---|---|
Set<DataResource> |
ReflectionUtil.findResources(String absoluteClasspath)
This method finds all resources that match to the given
absoluteClasspath. |
Set<DataResource> |
ReflectionUtil.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<DataResource> |
ReflectionUtil.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all resources that are located in the package identified by the given
packageName. |
| Modifier and Type | Field and Description |
|---|---|
private Set<DataResource> |
ResourceCollector.resourceSet
Set to collect resource-names. |
| Modifier and Type | Method and Description |
|---|---|
Set<DataResource> |
ReflectionUtilImpl.findResources(String absoluteClasspath)
This method finds all resources that match to the given
absoluteClasspath. |
Set<DataResource> |
ReflectionUtilImpl.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all resources that are located in the package identified by the given
packageName. |
Set<DataResource> |
ReflectionUtilImpl.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all resources that are located in the package identified by the given
packageName. |
| Constructor and Description |
|---|
ResourceCollector(Set<DataResource> resourceSet,
Filter<? super String> filter)
The constructor.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BrowsableResource
This is the interface for a
DataResource that has higher-level features and may contain other
resources. |
| Modifier and Type | Method and Description |
|---|---|
DataResource |
DataResource.navigate(String resourcePath)
This method retrieves a
DataResource pointing to the given resourcePath based on
this resource.E.g. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBrowsableResource
This is the abstract base-implementation of
BrowsableResource. |
class |
AbstractDataResource
This is the abstract base implementation of the
DataResource interface. |
class |
ClasspathResource
This is the implementation of the
DataResource interface for a resource that comes from the
classpath. |
class |
FileResource
This is the implementation of the
BrowsableResource interface for a resource that is a
regular File. |
class |
UrlResource
This is the implementation of the
DataResource interface for a resource that comes from an
URL. |
| Modifier and Type | Method and Description |
|---|---|
DataResource |
UrlResource.navigate(String relativePath)
This method retrieves a
DataResource pointing to the given resourcePath based on
this resource.E.g. |
DataResource |
ClasspathResource.navigate(String resourcePath)
This method retrieves a
DataResource pointing to the given resourcePath based on
this resource.E.g. |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ClasspathScannerImpl.AbstractBrowsableClasspathResource
Abstract base implementation of
BrowsableResource for ClasspathScannerImpl.ClasspathFile or ClasspathScannerImpl.ClasspathFolder. |
protected static class |
ClasspathScannerImpl.ClasspathFile
A file on the classpath.
|
protected static class |
ClasspathScannerImpl.ClasspathFolder
A folder (package) of the classpath.
|
| Modifier and Type | Method and Description |
|---|---|
DataResource |
ClasspathScannerImpl.AbstractBrowsableClasspathResource.navigate(String resourcePath)
This method retrieves a
DataResource pointing to the given resourcePath based on
this resource.E.g. |
DataResource |
ClasspathScannerImpl.ClasspathFolder.navigate(String resourcePath)
This method retrieves a
DataResource pointing to the given resourcePath based on
this resource.E.g. |
DataResource |
ClasspathScannerImpl.ClasspathFolder.navigate(String resourcePath,
boolean returnNullIfNotExists) |
Copyright © 2001–2015 mmm-Team. All rights reserved.