Class StringAsset

java.lang.Object
org.jboss.shrinkwrap.api.asset.StringAsset
All Implemented Interfaces:
Asset

public class StringAsset extends Object implements Asset
Implementation of an Asset backed by a String
Version:
$Revision: $
Author:
Dan Allen
  • Constructor Details

    • StringAsset

      public StringAsset(String content)
      Creates a new Asset instance backed by the specified String
      Parameters:
      content - The content represented as a String
      Throws:
      IllegalArgumentException - If the contents were not specified
  • Method Details