Interface StreamDataSource
- 
- All Superinterfaces:
 DataSource
- All Known Implementing Classes:
 ByteArrayInputSource,FileDataSource,FileWithBackupDataSource,PersistenceUtil.InMemoryStreamDataSource,PersistenceUtil.StreamDataSourceBase,SingleStreamSource
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 InputStreamopenInputStream()OutputStreamopenOutputStream()- 
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
 
 - 
 
 -