public class FileResourceProvider extends ResourceProvider
ResourceProfile
using local file system.Constructor and Description |
---|
FileResourceProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(ResourceProfile profile)
Configures this provider.
|
ResourceMirror |
create(String sessionId,
ParameterList arguments)
Provides a new
ResourceMirror . |
ResourceManipulator |
createManipulator(ParameterList arguments)
Provides a new
ResourceManipulator . |
abort, abortAll
protected void configure(ResourceProfile profile) throws IOException
BaseProvider
configure
in class BaseProvider<ResourceProfile>
profile
- the profileIOException
- if failed to configure thispublic ResourceMirror create(String sessionId, ParameterList arguments) throws IOException
ResourceProvider
ResourceMirror
.create
in class ResourceProvider
sessionId
- the current session IDarguments
- arguments (key and value pairs)ResourceMirror
IOException
- if failed to create the specified ResourceMirror
public ResourceManipulator createManipulator(ParameterList arguments) throws IOException
ResourceProvider
ResourceManipulator
.createManipulator
in class ResourceProvider
arguments
- arguments (key and value pairs)ResourceManipulator
IOException
- if failed to create a ResourceManipulator
,
or this resource does not support manipulationCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.