Class StringResource

java.lang.Object
cloud.piranha.resource.ByteArrayResource
cloud.piranha.resource.StringResource
All Implemented Interfaces:
Resource

public class StringResource extends ByteArrayResource
A resource based on a string value.
Author:
Arjan Tijms
  • Constructor Details

    • StringResource

      public StringResource(String location, String value)
      Creates the resource using a string value
      Parameters:
      location - the location of the value
      value - the value itself