Package com.okta.sdk.impl.io
Class AbstractResource
java.lang.Object
com.okta.sdk.impl.io.AbstractResource
- All Implemented Interfaces:
 Resource
- Direct Known Subclasses:
 ClasspathResource,FileResource,UrlResource
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected Stringcanonicalize(String input) protected abstract Stringprotected booleanhasResourcePrefix(String resourcePath) Returnstrueif the resource path is not null and starts with one of the recognized resource prefixes (classpath:,url:, orfile:,falseotherwise.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.okta.sdk.impl.io.Resource
getInputStream 
- 
Constructor Details
- 
AbstractResource
 
 - 
 - 
Method Details
- 
canonicalize
 - 
hasResourcePrefix
Returnstrueif the resource path is not null and starts with one of the recognized resource prefixes (classpath:,url:, orfile:,falseotherwise.- Parameters:
 resourcePath- the resource path to check- Returns:
 trueif the resource path is not null and starts with one of the recognized resource prefixes,falseotherwise.
 - 
getLocation
 - 
getScheme
 - 
toString
 
 -