Class ByteArrayTextSource
java.lang.Object
org.eclipse.m2m.atl.dsls.textsource.TextSource
org.eclipse.m2m.atl.dsls.textsource.ByteArrayTextSource
Text utility.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns an input stream of the text source.Methods inherited from class org.eclipse.m2m.atl.dsls.textsource.TextSource
openBufferedReader
-
Constructor Details
-
ByteArrayTextSource
public ByteArrayTextSource(byte[] bs) Creates a new ByteArrayTextSource.- Parameters:
bs
- the byte array
-
-
Method Details
-
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:
-