Class PathResource
java.lang.Object
org.apache.sshd.common.util.io.resource.AbstractIoResource<Path>
org.apache.sshd.common.util.io.resource.PathResource
- All Implemented Interfaces:
NamedResource
,IoResource<Path>
,ResourceStreamProvider
-
Field Summary
FieldsFields 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
getName, getResourceType, getResourceValue, toString
-
Field Details
-
openOptions
-
-
Constructor Details
-
PathResource
-
PathResource
-
-
Method Details
-
getPath
-
getOpenOptions
-
openInputStream
- Returns:
- an
InputStream
for the resource's data - Throws:
IOException
- If failed to open the stream
-