class Io extends IoUtil

Provides common IO utility methods. Can be instantiated to create a custom factory, or the companion object can be used as a singleton version.

Linear Supertypes
IoUtil, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Io
  2. IoUtil
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Io(compressionLevel: Int = 5, bufferSize: Int = 128*1024, tmpDir: commons.CommonsDef.DirPath = ...)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Io to any2stringadd[Io] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Io, B)
    Implicit
    This member is added by an implicit conversion from Io to ArrowAssoc[Io] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val DevNull: Path
    Definition Classes
    IoUtil
  7. val StdIn: Path
    Definition Classes
    IoUtil
  8. val StdOut: Path
    Definition Classes
    IoUtil
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def assertCanWriteFile(path: Path, parentMustExist: Boolean): Unit
    Definition Classes
    IoUtil
  11. def assertCanWriteFiles(paths: TraversableOnce[_ <: Path], parentMustExist: Boolean): Unit
    Definition Classes
    IoUtil
  12. def assertListable(path: Path): Unit
    Definition Classes
    IoUtil
  13. def assertListable(paths: TraversableOnce[_ <: Path]): Unit
    Definition Classes
    IoUtil
  14. def assertReadable(path: Path): Unit
    Definition Classes
    IoUtil
  15. def assertReadable(paths: TraversableOnce[_ <: Path]): Unit
    Definition Classes
    IoUtil
  16. def assertWritableDirectory(path: Path): Unit
    Definition Classes
    IoUtil
  17. def assertWritableDirectory(paths: TraversableOnce[_ <: Path]): Unit
    Definition Classes
    IoUtil
  18. val bufferSize: Int
    Definition Classes
    Io → IoUtil
  19. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. var compressionLevel: Int
  21. def ensuring(cond: (Io) ⇒ Boolean, msg: ⇒ Any): Io
    Implicit
    This member is added by an implicit conversion from Io to Ensuring[Io] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: (Io) ⇒ Boolean): Io
    Implicit
    This member is added by an implicit conversion from Io to Ensuring[Io] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean, msg: ⇒ Any): Io
    Implicit
    This member is added by an implicit conversion from Io to Ensuring[Io] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean): Io
    Implicit
    This member is added by an implicit conversion from Io to Ensuring[Io] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Io to StringFormat[Io] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  29. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def makeTempDir(name: String): commons.CommonsDef.DirPath

    Overridden to ensure tmp directories are created within the given tmpDir.

    Overridden to ensure tmp directories are created within the given tmpDir.

    Definition Classes
    Io → IoUtil
  33. def makeTempFile(prefix: String, suffix: String, dir: Option[commons.CommonsDef.DirPath] = Some(tmpDir)): commons.CommonsDef.DirPath

    Overridden to ensure that tmp fiels are created within the correct tmpDir.

    Overridden to ensure that tmp fiels are created within the correct tmpDir.

    Definition Classes
    Io → IoUtil
  34. def mkdirs(path: Path): Boolean
    Definition Classes
    IoUtil
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  38. def pipeStream(stream: InputStream, sink: (String) ⇒ Unit): AsyncStreamSink
    Definition Classes
    IoUtil
  39. def readLines(path: Path): Iterator[String]
    Definition Classes
    IoUtil
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. var tmpDir: commons.CommonsDef.DirPath
  42. def toInputStream(path: Path): InputStream

    Adds the automatic handling of gzipped files when opening files for reading.

    Adds the automatic handling of gzipped files when opening files for reading.

    Definition Classes
    Io → IoUtil
  43. def toOutputStream(path: Path): OutputStream

    Adds the automatic handling of gzipped files when opening files for writing.

    Adds the automatic handling of gzipped files when opening files for writing.

    Definition Classes
    Io → IoUtil
  44. def toReader(path: Path): BufferedReader
    Definition Classes
    IoUtil
  45. def toSource(path: Path): Source
    Definition Classes
    IoUtil
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. def toWriter(path: Path): BufferedWriter
    Definition Classes
    IoUtil
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def writeLines(path: Path, lines: Seq[String]): Unit
    Definition Classes
    IoUtil
  52. def [B](y: B): (Io, B)
    Implicit
    This member is added by an implicit conversion from Io to ArrowAssoc[Io] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from IoUtil

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Io to any2stringadd[Io]

Inherited by implicit conversion StringFormat from Io to StringFormat[Io]

Inherited by implicit conversion Ensuring from Io to Ensuring[Io]

Inherited by implicit conversion ArrowAssoc from Io to ArrowAssoc[Io]

Ungrouped