Class TextSource
- java.lang.Object
-
- org.eclipse.m2m.atl.dsls.textsource.TextSource
-
- Direct Known Subclasses:
ByteArrayTextSource
,IFileTextSource
,StringTextSource
,URLTextSource
public abstract class TextSource extends java.lang.Object
The abstract text source definition.
-
-
Constructor Summary
Constructors Constructor Description TextSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.io.BufferedReader
openBufferedReader()
Returns a buffered reader of the text source.abstract java.io.InputStream
openStream()
Returns an input stream of the text source.
-
-
-
Method Detail
-
openStream
public abstract java.io.InputStream openStream() throws java.io.IOException
Returns an input stream of the text source.- Returns:
- an input stream of the text source
- Throws:
java.io.IOException
-
openBufferedReader
public java.io.BufferedReader openBufferedReader() throws java.io.IOException
Returns a buffered reader of the text source.- Returns:
- a buffered reader of the text source
- Throws:
java.io.IOException
-
-