Class URLResource
java.lang.Object
org.apache.sshd.common.util.io.resource.AbstractIoResource<URL>
org.apache.sshd.common.util.io.resource.URLResource
- All Implemented Interfaces:
NamedResource,IoResource<URL>,ResourceStreamProvider
-
Field Summary
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.sshd.common.util.io.resource.AbstractIoResource
getResourceType, getResourceValue, toString
-
Constructor Details
-
URLResource
-
-
Method Details
-
getURL
-
getName
- Specified by:
getNamein interfaceNamedResource- Overrides:
getNamein classAbstractIoResource<URL>- Returns:
- The resource name
-
openInputStream
- Returns:
- an
InputStreamfor the resource's data - Throws:
IOException- If failed to open the stream
-