Class IFileTextSource
java.lang.Object
org.eclipse.m2m.atl.dsls.textsource.TextSource
org.eclipse.m2m.atl.dsls.textsource.IFileTextSource
IFile text utility.
-
Constructor Summary
ConstructorDescriptionIFileTextSource
(org.eclipse.core.resources.IFile file) Creates a new IFileTextSource. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.resources.IFile
getFile()
Returns an input stream of the text source.Methods inherited from class org.eclipse.m2m.atl.dsls.textsource.TextSource
openBufferedReader
-
Constructor Details
-
IFileTextSource
public IFileTextSource(org.eclipse.core.resources.IFile file) Creates a new IFileTextSource.- Parameters:
file
- the file to manage
-
-
Method Details
-
getFile
public org.eclipse.core.resources.IFile getFile() -
openStream
Returns an input stream of the text source.- Specified by:
openStream
in classTextSource
- Returns:
- an input stream of the text source
- Throws:
IOException
- See Also:
-