| Constructor and Description |
|---|
StringAsset(String content)
Creates a new
Asset instance backed by the specified String |
public StringAsset(String content)
Asset instance backed by the specified Stringcontent - The content represented as a StringIllegalArgumentException - If the contents were not specifiedpublic InputStream openStream()
AssetAsset is to be viewed as a logical path (placeholder/directory) only with no
backing content.openStream in interface AssetInputStream for each call, or null if this type simply represents a logical path
within an ArchiveAsset.openStream()public String toString()
toString in class ObjectObject.toString()Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.