Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-165

Create StringAsset

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-alpha-10
    • None
    • api
    • None

      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);

            arubinge@redhat.com Andrew Rubinger (Inactive)
            arubinge@redhat.com Andrew Rubinger (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: