public class FileInputStreamAccess extends Object implements InputStreamAccess
| Constructor and Description |
|---|
FileInputStreamAccess(String name,
File file) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
accessInputStream()
Get access to the stream.
|
NamedInputStream |
asNamedInputStream() |
String |
getStreamName()
Get the name of the resource backing the stream
|
public String getStreamName()
InputStreamAccessgetStreamName in interface InputStreamAccesspublic InputStream accessInputStream()
InputStreamAccessaccessInputStream in interface InputStreamAccesspublic NamedInputStream asNamedInputStream()
asNamedInputStream in interface InputStreamAccessCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.