class ReadWriteManager: Any

Constructors

<init>

constructor(projectId: String, readerWriterConfigurations: List<AbstractReaderWriterConfiguration>)

Parameters

Name Description
projectId: String
readerWriterConfigurations: List<AbstractReaderWriterConfiguration>

Methods

isSupported

fun isSupported(model: AbstractModel): registeredReaderWriter.any { it.isSupported(model) }

Parameters

Name Description
model: AbstractModel

ReturnValue

Name Description
registeredReaderWriter.any { it.isSupported(model) }

read

fun read(filePath: Path): AbstractModel

Parameters

Name Description
filePath: Path

ReturnValue

Name Description
AbstractModel

write

fun write(model: AbstractModel, directoryPath: Path)

Parameters

Name Description
model: AbstractModel
directoryPath: Path

ReturnValue

Name Description
Unit

CompanionObject

ReadWriteManager

class ReadWriteManager: Any

Fields

Name Description
val supportedFileExtensions: List<String>

Methods

of

fun of(projectId: String, vararg configuration: AbstractReaderWriterConfiguration): ReadWriteManager

Parameters

Name Description
projectId: String
vararg configuration: AbstractReaderWriterConfiguration

ReturnValue

Name Description
ReadWriteManager