protected static class FileDirContext.FileResource extends Resource
| Modifier and Type | Field and Description |
|---|---|
protected File |
file
Associated file object.
|
binaryContent, inputStream| Constructor and Description |
|---|
FileDirContext.FileResource(File file) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
streamContent()
Content accessor.
|
getContent, setContent, setContentprotected File file
public FileDirContext.FileResource(File file)
public InputStream streamContent() throws IOException
streamContent in class ResourceIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.