Class StringResource
java.lang.Object
com.djrapitops.plan.storage.file.StringResource
- All Implemented Interfaces:
Resource
-
Method Details
-
getResourceName
Description copied from interface:ResourceGet the name of this Resource.- Specified by:
getResourceNamein interfaceResource- Returns:
- Relative file path given to
PlanFiles.
-
getLastModifiedDate
public long getLastModifiedDate()- Specified by:
getLastModifiedDatein interfaceResource
-
asInputStream
Description copied from interface:ResourceGet the resource as an InputStream.- Specified by:
asInputStreamin interfaceResource- Returns:
- InputStream of the resource, not closed automatically.
-
asLines
-
asString
-
asBytes
-