public interface ResourceHandler extends 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(String name)
|
ResourceHandler.Resource locate(String name) throws IOException
name
- Resource name, guaranteed to be non-null
and is FS and URL safe string.IOException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.