public class BundledResourcePath extends AbstractResourcePath
ResourceResolver.util
Modifier and Type | Field and Description |
---|---|
protected static String |
EXECUTABLES |
protected static String |
IDENTIFIER |
protected static String |
INCLUDES |
protected static String |
PATH |
protected static String |
UNPACK |
Constructor and Description |
---|
BundledResourcePath() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(Map<?,?> properties,
Class<?> context) |
protected boolean |
containsResource(URI resource) |
protected URL |
getBasePath() |
URI |
getIdentifier() |
protected boolean |
isExecutable(URI resources) |
protected boolean |
isUnpacking() |
protected Collection<URI> |
listResources() |
protected File |
makeUnpackDir()
Override if isUnpacking returns true
|
canonicalize, equals, hashCode, resolve, toString
protected static final String IDENTIFIER
protected static final String PATH
protected static final String UNPACK
protected static final String EXECUTABLES
protected static final String INCLUDES
protected void activate(Map<?,?> properties, Class<?> context) throws IllegalArgumentException
IllegalArgumentException
public URI getIdentifier()
protected boolean containsResource(URI resource)
containsResource
in class AbstractResourcePath
protected Collection<URI> listResources()
listResources
in class AbstractResourcePath
protected URL getBasePath()
getBasePath
in class AbstractResourcePath
protected boolean isUnpacking()
isUnpacking
in class AbstractResourcePath
protected File makeUnpackDir()
AbstractResourcePath
makeUnpackDir
in class AbstractResourcePath
protected boolean isExecutable(URI resources)
isExecutable
in class AbstractResourcePath
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.