org.tinyjee.maven.dim.sources
Class AbstractBufferedSource.BufferedSourceContent
java.lang.Object
org.tinyjee.maven.dim.spi.AbstractSource.SourceContent
org.tinyjee.maven.dim.sources.AbstractBufferedSource.BufferedSourceContent
- All Implemented Interfaces:
- Source.Content
- Enclosing class:
- AbstractBufferedSource
protected class AbstractBufferedSource.BufferedSourceContent
- extends AbstractSource.SourceContent
exception
protected final IOException exception
bufferedContent
protected final String bufferedContent
AbstractBufferedSource.BufferedSourceContent
protected AbstractBufferedSource.BufferedSourceContent(String bufferedContent,
IOException exception)
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
- Overrides:
openReader
in class AbstractSource.SourceContent
- 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 AbstractSource.SourceContent