Package rife.cmf.format
Class RawFormatter
java.lang.Object
rife.cmf.format.RawFormatter
- All Implemented Interfaces:
- Formatter<InputStream,- InputStream> 
Formats raw 
Content data.
 This merely executes the provided transformer on the data.
- Since:
- 1.0
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionformat(Content content, ContentTransformer<InputStream> transformer) Formats raw data and returns it in aDataTypethat's supported by the back-end stores.
- 
Constructor Details- 
RawFormatterpublic RawFormatter()
 
- 
- 
Method Details- 
formatpublic InputStream format(Content content, ContentTransformer<InputStream> transformer) throws FormatException Description copied from interface:FormatterFormats raw data and returns it in aDataTypethat's supported by the back-end stores.- Specified by:
- formatin interface- Formatter<InputStream,- InputStream> 
- Parameters:
- content- a- Contentinstance that contains the raw data with additional information that describes the storage and formatting of the processed data
- transformer- a transformer that will be used to modify raw data after it has been loaded; or- nullif the data shouldn't be transformed
- Returns:
- the result of the formatting of the raw data
- Throws:
- FormatException
 
 
-