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

Author:
Aslak Knutsen, ALR

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

Method Detail

openStream

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.


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.