|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RawContentTransformer
This interface defines the API that has to be implemented by classes that are capable of transforming raw content data after it's initially loaded.
The content attributes are provided to the transform method and can be
used to provide hints for the transformation.
ContentTransformer| Method Summary | |
|---|---|
InputStream |
transform(InputStream data,
Map<String,String> attributes)
Transforms the raw content data and returns the transformed data as an array of bytes. |
| Method Detail |
|---|
InputStream transform(InputStream data,
Map<String,String> attributes)
throws ContentManagerException
transform in interface ContentTransformer<InputStream>data - the raw data that has to be transformedattributes - a map of content attributes that can be used to
provide hints or parameters for the transformation
ContentManagerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||