|
ShrinkWrap Resolver API 2.0.0-cr-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
RESOLVEDTYPE - public interface ResolvedArtifact<RESOLVEDTYPE extends ResolvedArtifact<RESOLVEDTYPE>>
Representation of resolved artifact
| Method Summary | ||
|---|---|---|
|
as(Class<RETURNTYPE> returnTypeClass)
Returns resolved artifact formated to returnTypeClass. |
|
File |
asFile()
Returns resolved artifact as a File |
|
InputStream |
asInputStream()
Returns resolved artifact as an @{link InputStream. |
|
RESOLVEDTYPE |
asResolvedArtifact()
Returns resolved artifact, optionally casted to the sub type of ResolvedArtifact |
|
| Method Detail |
|---|
RESOLVEDTYPE asResolvedArtifact()
ResolvedArtifact
File asFile()
File
InputStream asInputStream()
InputStream. It is a responsibility of the caller to close stream
afterwards.
<RETURNTYPE> RETURNTYPE as(Class<RETURNTYPE> returnTypeClass)
throws IllegalArgumentException,
UnsupportedOperationException
returnTypeClass.
See FormatProcessor to register additional format.
returnTypeClass -
{@link - IllegalArgumentException} If the type is not specified
{@link - UnsupportedOperationException} If the type is not supported
IllegalArgumentException
UnsupportedOperationException
|
ShrinkWrap Resolver API 2.0.0-cr-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||