All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.pickling.FileOutput.scala Maven / Gradle / Ivy

The newest version!
package scala.pickling
package io

import java.io.{File, PrintWriter}

class TextFileOutput(file: File) extends Output[String] {

  private val writer = new PrintWriter(file)

  def result(): String =
    ???

  def put(obj: String): this.type = {
    writer.print(obj)
    this
  }

  def close(): Unit = writer.close()

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy