SerializationSpecificIO

open class SerializationSpecificIO(filePath: Path, serializationFormat: StringFormat = defaultYaml) : SpecificIO

Inheritors

Constructors

Link copied to clipboard
constructor(filePath: Path, serializationFormat: StringFormat = defaultYaml)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun <T> read(deserializer: DeserializationStrategy<T>, bufferSize: Int = DEFAULT_BUFFER_SIZE, charset: Charset = Charsets.UTF_8): Outcome<T>
open fun read(bufferSize: Int, charset: Charset): String
Link copied to clipboard
open fun readAllLines(bufferSize: Int, charset: Charset): List<String>
Link copied to clipboard
open fun readLine(line: Int, bufferSize: Int, charset: Charset): Outcome<String>
Link copied to clipboard
open fun <T> write(content: T, serializer: SerializationStrategy<T>, bufferSize: Int = DEFAULT_BUFFER_SIZE, charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption)
open fun write(content: Any, bufferSize: Int, charset: Charset, vararg openOptions: OpenOption)
open fun write(content: List<Any>, bufferSize: Int, charset: Charset, vararg openOptions: OpenOption)