org.tinyjee.maven.dim.spi
Interface Source.Content

All Known Implementing Classes:
AbstractBufferedSource.BufferedSourceContent, AbstractSource.SourceContent
Enclosing interface:
Source

public static interface Source.Content

Defines actual source content.


Method Summary
 Map<String,Object> getParameters()
          Returns the parameters assigned with the content.
 Reader openReader()
          Returns the content as text stream.
 

Method Detail

getParameters

Map<String,Object> getParameters()
Returns the parameters assigned with the content.

Returns:
the parameters assigned with the content.

openReader

Reader openReader()
                  throws IOException
Returns the content as text stream.

Returns:
a reader containing the content to include.
Throws:
IOException - in case of reading the sections failed.