java.lang.Object
cloud.piranha.resource.ByteArrayResource
cloud.piranha.resource.StringResource
- All Implemented Interfaces:
Resource
A resource based on a string value.
- Author:
- Arjan Tijms
-
Constructor Summary
ConstructorDescriptionStringResource(String location, String value)
Creates the resource using a string value -
Method Summary
Methods inherited from class cloud.piranha.resource.ByteArrayResource
getAllLocations, getBytes, getResource, getResourceAsStream, getResourceAsStreamByLocation
-
Constructor Details
-
StringResource
Creates the resource using a string value- Parameters:
location
- the location of the valuevalue
- the value itself
-