|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Z
- The type of the resource that will be transcoded from.R
- The type of the resource that will be transcoded to.public interface ResourceTranscoder<Z,R>
Transcodes a resource of one type to a resource of another type.
Method Summary | |
---|---|
String |
getId()
|
Resource<R> |
transcode(Resource<Z> toTranscode)
Transcodes the given resource to the new resource type and returns the wew resource. |
Method Detail |
---|
Resource<R> transcode(Resource<Z> toTranscode)
toTranscode
- The resource to transcode.String getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |