Package com.okta.idx.sdk.api.io
Class FileResource
- java.lang.Object
-
- com.okta.idx.sdk.api.io.AbstractResource
-
- com.okta.idx.sdk.api.io.FileResource
-
- All Implemented Interfaces:
Resource
public class FileResource extends AbstractResource
-
-
Constructor Summary
Constructors Constructor Description FileResource(java.lang.String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
protected java.lang.String
getScheme()
-
Methods inherited from class com.okta.idx.sdk.api.io.AbstractResource
canonicalize, getLocation, hasResourcePrefix, toString
-
-
-
-
Method Detail
-
getScheme
protected java.lang.String getScheme()
- Specified by:
getScheme
in classAbstractResource
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Throws:
java.io.IOException
-
-