abstract class AbstractReaderWriter: Any

Fields

Name Description
open configuration: AbstractReaderWriterConfiguration

Constructors

<init>

constructor(configuration: AbstractReaderWriterConfiguration)

Parameters

Name Description
configuration: AbstractReaderWriterConfiguration

Methods

isSupported

abstract fun isSupported(fileExtension: String): Boolean

Parameters

Name Description
fileExtension: String

ReturnValue

Name Description
Boolean

isSupported

abstract fun isSupported(model: AbstractModel): Boolean

Parameters

Name Description
model: AbstractModel

ReturnValue

Name Description
Boolean

read

abstract fun read(filePath: Path): AbstractModel

Parameters

Name Description
filePath: Path

ReturnValue

Name Description
AbstractModel

write

abstract fun write(model: AbstractModel, directoryPath: Path): Result, Exception><List<Path>, Exception>

Parameters

Name Description
model: AbstractModel
directoryPath: Path

ReturnValue

Name Description
Result, Exception><List<Path>, Exception>