public class DefaultResourceLoader extends ResourceMultiLoader
ResourceLoader.Type
Constructor and Description |
---|
DefaultResourceLoader()
Create a default resource loader which searches the path specified by the
jadice.viewer.afp-resource-path configuration option for resources with the
extensions specified by the jadice.viewer.afp-resource-extension option. |
DefaultResourceLoader(String path)
Sets the document path to
Loader . |
DefaultResourceLoader(String path,
String[] extensions)
Sets the document path to
Loader . |
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultPath() |
static void |
setDefaultPath(String defaultPath) |
addLoader, getDefaultDataMap, getDefaultMediumMap, getResourceStream, removeLoader
public DefaultResourceLoader()
jadice.viewer.afp-resource-path
configuration option for resources with the
extensions specified by the jadice.viewer.afp-resource-extension
option.public DefaultResourceLoader(String path)
Loader
. Works not for URL related paths. Use
ResourceUrlLoader
instead.path
- Document's path.public DefaultResourceLoader(String path, String[] extensions)
Loader
. Works not for URL related paths. Use
ResourceUrlLoader
instead.path
- the path where to find resources. It could also be composed of several paths
separated by ";".extensions
- array containing file extensions to look for.Copyright © 2024 levigo holding gmbh. All rights reserved.