public interface FileNameResolver
| Modifier and Type | Method and Description |
|---|---|
default List<Path> |
getPaths(String identifier)
Resolve the identifier to java.nio.Path objects.
|
default List<Path> |
getPaths(String identifier,
MimeType mimeType)
Return resolved Paths that match the given MIME type.
|
List<String> |
getStrings(String identifier) |
default List<String> |
getStrings(String identifier,
MimeType mimeType)
Return resolved strings that match the given MIME type.
|
default List<URI> |
getUris(String identifier)
Resolve the identifier to URI objects.
|
default List<URI> |
getUris(String identifier,
MimeType mimeType)
Return resolved URIs that match the given MIME type.
|
Boolean |
isResolvable(String identifier) |
List<String> getStrings(String identifier) throws ResourceIOException
ResourceIOExceptiondefault List<String> getStrings(String identifier, MimeType mimeType) throws ResourceIOException
identifier - file identifier/resolving keymimeType - target mimetype (resolving subkey)ResourceIOException - in case getStrings for key
failsdefault List<URI> getUris(String identifier) throws ResourceIOException
identifier - file identifier/resolving keyResourceIOException - in case getStrings for key
failsdefault List<URI> getUris(String identifier, MimeType mimeType) throws ResourceIOException
identifier - file identifier/resolving keymimeType - target mimetype (resolving subkey)ResourceIOException - in case getStrings for key
failsdefault List<Path> getPaths(String identifier) throws ResourceIOException
identifier - file identifier/resolving keyResourceIOException - in case getStrings for key
failsdefault List<Path> getPaths(String identifier, MimeType mimeType) throws ResourceIOException
identifier - file identifier/resolving keymimeType - target mimetype (resolving subkey)ResourceIOException - in case getStrings for key
failsCopyright © 2018. All rights reserved.