Package com.powsybl.iidm.serde
Class AbstractOptions<T>
java.lang.Object
com.powsybl.iidm.serde.AbstractOptions<T>
- Direct Known Subclasses:
ExportOptions
,ImportOptions
- Author:
- Chamseddine BENHAMED <chamseddine.benhamed at rte-france.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract T
addExtension
(String extension) boolean
hasAtLeastOneExtension
(Set<String> extensions) abstract boolean
abstract T
setExtensions
(Set<String> extensions) setFormat
(TreeDataFormat format) boolean
boolean
withExtension
(String extensionName) boolean
-
Field Details
-
extensions
-
format
-
-
Constructor Details
-
AbstractOptions
public AbstractOptions()
-
-
Method Details
-
setExtensions
-
addExtension
-
getExtensions
-
withNoExtension
public boolean withNoExtension() -
withAllExtensions
public boolean withAllExtensions() -
hasAtLeastOneExtension
-
withExtension
-
isThrowExceptionIfExtensionNotFound
public abstract boolean isThrowExceptionIfExtensionNotFound() -
getFormat
-
setFormat
-