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