Top Constructors Methods
org.apache.sshd.common.util.io.resource

public Class URIResource

extends AbstractIoResource<URI>
Class Inheritance
Imports
java.io.IOException, .InputStream, java.net.URI, .URL

Author
Apache MINA SSHD Project

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public URI
public InputStream
Inherited from org.apache.sshd.common.util.io.resource.AbstractIoResource:
getNamegetResourceTypegetResourceValuetoString

Constructor Detail

URIResourceback to summary
public URIResource(URI uri)

Method Detail

getURIback to summary
public URI getURI()
openInputStreamback to summary
public InputStream openInputStream() throws IOException

Implements org.apache.sshd.common.util.io.resource.ResourceStreamProvider.openInputStream.

Returns:InputStream

Doc from org.apache.sshd.common.util.io.resource.ResourceStreamProvider.openInputStream.

an InputStream for the resource's data

Annotations
@Override
Exceptions
IOException:

Doc from org.apache.sshd.common.util.io.resource.ResourceStreamProvider.openInputStream.

If failed to open the stream