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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Io
- IoUtil
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Io, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
DevNull: Path
- Definition Classes
- IoUtil
-
val
StdIn: Path
- Definition Classes
- IoUtil
-
val
StdOut: Path
- Definition Classes
- IoUtil
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assertCanWriteFile(path: Path, parentMustExist: Boolean): Unit
- Definition Classes
- IoUtil
-
def
assertCanWriteFiles(paths: TraversableOnce[_ <: Path], parentMustExist: Boolean): Unit
- Definition Classes
- IoUtil
-
def
assertListable(path: Path): Unit
- Definition Classes
- IoUtil
-
def
assertListable(paths: TraversableOnce[_ <: Path]): Unit
- Definition Classes
- IoUtil
-
def
assertReadable(path: Path): Unit
- Definition Classes
- IoUtil
-
def
assertReadable(paths: TraversableOnce[_ <: Path]): Unit
- Definition Classes
- IoUtil
-
def
assertWritableDirectory(path: Path): Unit
- Definition Classes
- IoUtil
-
def
assertWritableDirectory(paths: TraversableOnce[_ <: Path]): Unit
- Definition Classes
- IoUtil
-
val
bufferSize: Int
- Definition Classes
- Io → IoUtil
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- var compressionLevel: Int
- def ensuring(cond: (Io) ⇒ Boolean, msg: ⇒ Any): Io
- def ensuring(cond: (Io) ⇒ Boolean): Io
- def ensuring(cond: Boolean, msg: ⇒ Any): Io
- def ensuring(cond: Boolean): Io
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
def
mkdirs(path: Path): Boolean
- Definition Classes
- IoUtil
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
pipeStream(stream: InputStream, sink: (String) ⇒ Unit): AsyncStreamSink
- Definition Classes
- IoUtil
-
def
readLines(path: Path): Iterator[String]
- Definition Classes
- IoUtil
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- var tmpDir: commons.CommonsDef.DirPath
-
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
-
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
-
def
toReader(path: Path): BufferedReader
- Definition Classes
- IoUtil
-
def
toSource(path: Path): Source
- Definition Classes
- IoUtil
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toWriter(path: Path): BufferedWriter
- Definition Classes
- IoUtil
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
writeLines(path: Path, lines: Seq[String]): Unit
- Definition Classes
- IoUtil
- def →[B](y: B): (Io, B)