Package com.powsybl.psse.model.io
Class Context
- java.lang.Object
-
- com.powsybl.psse.model.io.Context
-
public class Context extends Object
- Author:
- Luma Zamarreño
, José Antonio Marqués
-
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detectDelimiter(String record)
int
getCurrentRecordGroupMaxNumFields()
char
getDelimiter()
String[]
getFieldNames(RecordGroupIdentification recordGroup)
FileFormat
getFileFormat()
PsseVersion
getVersion()
Context
setFieldNames(RecordGroupIdentification recordGroup, String[] fieldNames)
Context
setFileFormat(FileFormat fileFormat)
Context
setJsonGenerator(com.fasterxml.jackson.core.JsonGenerator jsonGenerator)
Context
setNetworkNode(com.fasterxml.jackson.databind.JsonNode networkNode)
Context
setVersion(PsseVersion version)
-
-
-
Method Detail
-
getVersion
public PsseVersion getVersion()
-
setVersion
public Context setVersion(PsseVersion version)
-
getFileFormat
public FileFormat getFileFormat()
-
setFileFormat
public Context setFileFormat(FileFormat fileFormat)
-
getDelimiter
public char getDelimiter()
-
detectDelimiter
public void detectDelimiter(String record)
-
setFieldNames
public Context setFieldNames(RecordGroupIdentification recordGroup, String[] fieldNames)
-
getFieldNames
public String[] getFieldNames(RecordGroupIdentification recordGroup)
-
getCurrentRecordGroupMaxNumFields
public int getCurrentRecordGroupMaxNumFields()
-
setJsonGenerator
public Context setJsonGenerator(com.fasterxml.jackson.core.JsonGenerator jsonGenerator)
-
setNetworkNode
public Context setNetworkNode(com.fasterxml.jackson.databind.JsonNode networkNode)
-
-