org.jboss.shrinkwrap.api
Interface Asset


public interface Asset

Represents a Class, file, or any other collection of bytes stored under some context within an Archive


Method Summary
 java.io.InputStream openStream()
          Get a input stream for the resource content.
 

Method Detail

openStream

java.io.InputStream openStream()
Get a input stream for the resource content. The caller is responsible for closing the stream.

Returns:
A new open inputstream for each call.