Create StringAsset
------------------
Key: SHRINKWRAP-165
URL:
https://jira.jboss.org/jira/browse/SHRINKWRAP-165
Project: ShrinkWrap
Issue Type: Feature Request
Components: api
Reporter: Andrew Lee Rubinger
Create the functional equivalent of:
new Asset()
{
@Override
public InputStream openStream()
{
return new ByteArrayInputStream("Some String".getBytes());
}
}
User code should look like:
new StringAsset("string");
new StringAsset("string",Charset);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira