Package com.powsybl.commons.datasource
Class MultipleReadOnlyDataSource
java.lang.Object
com.powsybl.commons.datasource.MultipleReadOnlyDataSource
- All Implemented Interfaces:
ReadOnlyDataSource
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
ConstructorDescriptionMultipleReadOnlyDataSource
(ReadOnlyDataSource... dataSource) MultipleReadOnlyDataSource
(List<ReadOnlyDataSource> dataSources) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
newInputStream
(String fileName) newInputStream
(String suffix, String ext)
-
Constructor Details
-
MultipleReadOnlyDataSource
-
MultipleReadOnlyDataSource
-
-
Method Details
-
getBaseName
- Specified by:
getBaseName
in interfaceReadOnlyDataSource
-
exists
- Specified by:
exists
in interfaceReadOnlyDataSource
- Throws:
IOException
-
exists
- Specified by:
exists
in interfaceReadOnlyDataSource
- Throws:
IOException
-
newInputStream
- Specified by:
newInputStream
in interfaceReadOnlyDataSource
- Throws:
IOException
-
newInputStream
- Specified by:
newInputStream
in interfaceReadOnlyDataSource
- Throws:
IOException
-
listNames
- Specified by:
listNames
in interfaceReadOnlyDataSource
- Throws:
IOException
-