MultiPatternsFileNameResolverImpl, PatternFileNameResolverImplpublic interface FileNameResolver
| Modifier and Type | Method | Description |
|---|---|---|
default java.util.List<java.nio.file.Path> |
getPaths(java.lang.String identifier) |
Resolve the identifier to java.nio.Path objects.
|
default java.util.List<java.nio.file.Path> |
getPaths(java.lang.String identifier,
de.digitalcollections.model.api.identifiable.resource.MimeType mimeType) |
Return resolved Paths that match the given MIME type.
|
java.util.Set<java.nio.file.Path> |
getPathsForPattern(java.lang.String pattern) |
Return all paths for a given pattern
|
java.util.List<java.lang.String> |
getStrings(java.lang.String identifier) |
|
default java.util.List<java.lang.String> |
getStrings(java.lang.String identifier,
de.digitalcollections.model.api.identifiable.resource.MimeType mimeType) |
Return resolved strings that match the given MIME type.
|
default java.util.List<java.net.URI> |
getUris(java.lang.String identifier) |
Resolve the identifier to URI objects.
|
default java.util.List<java.net.URI> |
getUris(java.lang.String identifier,
de.digitalcollections.model.api.identifiable.resource.MimeType mimeType) |
Return resolved URIs that match the given MIME type.
|
java.lang.Boolean |
isResolvable(java.lang.String identifier) |
java.lang.Boolean isResolvable(java.lang.String identifier)
java.util.List<java.lang.String> getStrings(java.lang.String identifier)
throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOExceptiondefault java.util.List<java.lang.String> getStrings(java.lang.String identifier,
de.digitalcollections.model.api.identifiable.resource.MimeType mimeType)
throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
identifier - file identifier/resolving keymimeType - target mimetype (resolving subkey)de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException - in case getStrings for key failsdefault java.util.List<java.net.URI> getUris(java.lang.String identifier)
throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
identifier - file identifier/resolving keyde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException - in case getStrings for key failsdefault java.util.List<java.net.URI> getUris(java.lang.String identifier,
de.digitalcollections.model.api.identifiable.resource.MimeType mimeType)
throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
identifier - file identifier/resolving keymimeType - target mimetype (resolving subkey)de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException - in case getStrings for key failsdefault java.util.List<java.nio.file.Path> getPaths(java.lang.String identifier)
throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
identifier - file identifier/resolving keyde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException - in case getStrings for key failsdefault java.util.List<java.nio.file.Path> getPaths(java.lang.String identifier,
de.digitalcollections.model.api.identifiable.resource.MimeType mimeType)
throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
identifier - file identifier/resolving keymimeType - target mimetype (resolving subkey)de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException - in case getStrings for key failsjava.util.Set<java.nio.file.Path> getPathsForPattern(java.lang.String pattern)
throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOExceptionCopyright © 2018. All rights reserved.