Package com.powsybl.commons.datasource
Interface DataSource
-
- All Superinterfaces:
ReadOnlyDataSource
- All Known Implementing Classes:
Bzip2FileDataSource
,FileDataSource
,GzFileDataSource
,MemDataSource
,ZipFileDataSource
public interface DataSource extends ReadOnlyDataSource
- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputStream
newOutputStream(String fileName, boolean append)
OutputStream
newOutputStream(String suffix, String ext, boolean append)
-
Methods inherited from interface com.powsybl.commons.datasource.ReadOnlyDataSource
exists, exists, getBaseName, listNames, newInputStream, newInputStream
-
-
-
-
Method Detail
-
newOutputStream
OutputStream newOutputStream(String fileName, boolean append) throws IOException
- Throws:
IOException
-
newOutputStream
OutputStream newOutputStream(String suffix, String ext, boolean append) throws IOException
- Throws:
IOException
-
-