public class FileInputStreamAccess extends java.lang.Object implements InputStreamAccess
Constructor and Description |
---|
FileInputStreamAccess(java.lang.String name,
java.io.File file) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
accessInputStream()
Get access to the stream.
|
java.lang.String |
getStreamName()
Get the name of the resource backing the stream
|
public FileInputStreamAccess(java.lang.String name, java.io.File file)
public java.lang.String getStreamName()
InputStreamAccess
getStreamName
in interface InputStreamAccess
public java.io.InputStream accessInputStream()
InputStreamAccess
accessInputStream
in interface InputStreamAccess
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.