|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - the type of the entities to be writtenpublic interface FormatWriter<T>
Write entities to an output stream in a particular format
| Method Summary | |
|---|---|
String |
getContentType()
Recover the MIME content type for the stream |
void |
write(UriInfo uriInfo,
Writer w,
T target)
Write an object to the formatted version of the stream |
| Method Detail |
|---|
String getContentType()
void write(UriInfo uriInfo,
Writer w,
T target)
uriInfo - the base uri of the entity documentsw - the underlying "stream" to write totarget - the object to be written
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||