Skip to content

Commit

Permalink
[SHRINKWRAP-414] Update Asset documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ALRubinger committed Aug 8, 2012
1 parent 21f5d40 commit bd5c157
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions api/src/main/java/org/jboss/shrinkwrap/api/asset/Asset.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@
*/
public interface Asset {
/**
* Get a input stream for the resource content. The caller is responsible for closing the stream. If this returns
* null, this denotes that the {@link Asset} is to be viewed as a logical path (placeholder/directory) only with no
* backing content.
* Get a input stream for the resource content. The caller is responsible for closing the stream.
*
* @return A new open {@link InputStream} for each call, or null if this type simply represents a logical path
* within an {@link Archive}
* @return A new open {@link InputStream} for each call
*/
InputStream openStream();
}

0 comments on commit bd5c157

Please sign in to comment.