org.tinyjee.maven.dim.spi
Class AbstractSource.SourceContent
java.lang.Object
org.tinyjee.maven.dim.spi.AbstractSource.SourceContent
- All Implemented Interfaces:
- Source.Content
- Direct Known Subclasses:
- AbstractBufferedSource.BufferedSourceContent
- Enclosing class:
- AbstractSource
protected class AbstractSource.SourceContent
- extends Object
- implements Source.Content
Base implementation for source content.
AbstractSource.SourceContent
protected AbstractSource.SourceContent()
getParameters
public Map<String,Object> getParameters()
- Description copied from interface:
Source.Content
- Returns the parameters assigned with the content.
- Specified by:
getParameters
in interface Source.Content
- Returns:
- the parameters assigned with the content.
openReader
public Reader openReader()
throws IOException
- Description copied from interface:
Source.Content
- Returns the content as text stream.
- Specified by:
openReader
in interface Source.Content
- Returns:
- a reader containing the content to include.
- Throws:
IOException
- in case of reading the sections failed.
toString
public String toString()
- Overrides:
toString
in class Object