public interface ResourceHandler
extends java.io.Closeable
Closeable
. That means, that
implementations could perform any extra activity as FS locking or so (if uses FS as backing store). Is used by single
thread only.Modifier and Type | Interface and Description |
---|---|
static interface |
ResourceHandler.Resource
Handle of content.
|
Modifier and Type | Method and Description |
---|---|
ResourceHandler.Resource |
locate(java.lang.String name)
|
ResourceHandler.Resource locate(java.lang.String name) throws java.io.IOException
name
- Resource name, guaranteed to be non-null
and is FS and URL safe string.java.io.IOException