public class UrlInputStreamAccess extends Object implements InputStreamAccess
Constructor and Description |
---|
UrlInputStreamAccess(URL url) |
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 UrlInputStreamAccess(URL url)
public String getStreamName()
InputStreamAccess
getStreamName
in interface InputStreamAccess
public InputStream accessInputStream()
InputStreamAccess
accessInputStream
in interface InputStreamAccess
public NamedInputStream asNamedInputStream()
asNamedInputStream
in interface InputStreamAccess
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.