Interface StreamDataSource
-
- All Superinterfaces:
DataSource
public interface StreamDataSource extends DataSource
A data source with a single input stream. For implementation consider extending FileDataSource or DataSourceBase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
openInputStream()
OutputStream
openOutputStream()
-
Methods inherited from interface org.jetbrains.mps.openapi.persistence.DataSource
addListener, getLocation, getTimestamp, getType, isReadOnly, removeListener
-
-
-
-
Method Detail
-
openInputStream
InputStream openInputStream() throws IOException
- Throws:
IOException
-
openOutputStream
OutputStream openOutputStream() throws IOException
- Throws:
IOException
-
-