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.ObjectThe 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.BufferedReaderopenBufferedReader()Returns a buffered reader of the text source.abstract java.io.InputStreamopenStream()Returns an input stream of the text source.
-
-
-
Method Detail
-
openStream
public abstract java.io.InputStream openStream() throws java.io.IOExceptionReturns 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.IOExceptionReturns a buffered reader of the text source.- Returns:
- a buffered reader of the text source
- Throws:
java.io.IOException
-
-