public class ExportOptions extends AbstractOptions<ExportOptions>
extensions, mode
Constructor and Description |
---|
ExportOptions() |
ExportOptions(boolean withBranchSV,
boolean indent,
boolean onlyMainCc,
TopologyLevel topologyLevel,
boolean throwExceptionIfExtensionNotFound) |
getExtensions, hasAtLeastOneExtension, withAllExtensions, withExtension, withNoExtension
public ExportOptions()
public ExportOptions(boolean withBranchSV, boolean indent, boolean onlyMainCc, TopologyLevel topologyLevel, boolean throwExceptionIfExtensionNotFound)
public IidmImportExportMode getMode()
getMode
in class AbstractOptions<ExportOptions>
public ExportOptions setMode(IidmImportExportMode mode)
setMode
in class AbstractOptions<ExportOptions>
public ExportOptions addExtension(java.lang.String extension)
addExtension
in class AbstractOptions<ExportOptions>
public boolean isWithBranchSV()
public ExportOptions setWithBranchSV(boolean withBranchSV)
public boolean isIndent()
public ExportOptions setIndent(boolean indent)
public boolean isOnlyMainCc()
public ExportOptions setOnlyMainCc(boolean onlyMainCc)
public boolean isAnonymized()
public ExportOptions setAnonymized(boolean anonymized)
public TopologyLevel getTopologyLevel()
public ExportOptions setTopologyLevel(TopologyLevel topologyLevel)
public ExportOptions setExtensions(java.util.Set<java.lang.String> extensions)
setExtensions
in class AbstractOptions<ExportOptions>
public boolean isThrowExceptionIfExtensionNotFound()
public ExportOptions setThrowExceptionIfExtensionNotFound(boolean throwException)
@Deprecated public boolean isSkipExtensions()
AbstractOptions.withNoExtension()
instead.@Deprecated public ExportOptions setSkipExtensions(boolean skipExtensions)
#setExtensions(Set)
instead.
Pass an empty Set as parameter