protected static class FileDirContext.FileResource extends Resource
Modifier and Type | Field and Description |
---|---|
protected File |
file
Associated file object.
|
binaryContent, inputStream
Constructor and Description |
---|
FileResource(File file) |
Modifier and Type | Method and Description |
---|---|
InputStream |
streamContent()
Content accessor.
|
getContent, setContent, setContent
protected File file
public FileResource(File file)
public InputStream streamContent() throws IOException
streamContent
in class Resource
IOException
Copyright © 2020. All rights reserved.