Class IFileTextSource
- java.lang.Object
-
- org.eclipse.m2m.atl.dsls.textsource.TextSource
-
- org.eclipse.m2m.atl.dsls.textsource.IFileTextSource
-
public class IFileTextSource extends TextSource
IFile text utility.
-
-
Constructor Summary
Constructors Constructor Description IFileTextSource(org.eclipse.core.resources.IFile file)
Creates a new IFileTextSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.resources.IFile
getFile()
java.io.InputStream
openStream()
Returns an input stream of the text source.-
Methods inherited from class org.eclipse.m2m.atl.dsls.textsource.TextSource
openBufferedReader
-
-
-
-
Method Detail
-
getFile
public org.eclipse.core.resources.IFile getFile()
-
openStream
public java.io.InputStream openStream() throws java.io.IOException
Returns an input stream of the text source.- Specified by:
openStream
in classTextSource
- Returns:
- an input stream of the text source
- Throws:
java.io.IOException
- See Also:
TextSource.openStream()
-
-