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, setContent
public FileDirContext.FileResource(java.io.File file)
public java.io.InputStream streamContent() throws java.io.IOException
streamContent
in class Resource
java.io.IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.