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