Package com.powsybl.commons.datasource
Interface ReadOnlyDataSource
- All Known Subinterfaces:
DataSource
- All Known Implementing Classes:
Bzip2FileDataSource
,FileDataSource
,GenericReadOnlyDataSource
,GzFileDataSource
,MemDataSource
,MultipleReadOnlyDataSource
,ReadOnlyMemDataSource
,ResourceDataSource
,XZFileDataSource
,ZipFileDataSource
,ZstdFileDataSource
public interface ReadOnlyDataSource
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
newInputStream
(String fileName) newInputStream
(String suffix, String ext)
-
Method Details
-
getBaseName
String getBaseName() -
exists
- Throws:
IOException
-
exists
- Throws:
IOException
-
newInputStream
- Throws:
IOException
-
newInputStream
- Throws:
IOException
-
listNames
- Throws:
IOException
-