Packages

o

fm.common

IOUtils

object IOUtils

Collection of IO Utilities. Some implemented via Apache Commons IO

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IOUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def copy(input: Reader, output: Writer): Int

    Copy chars from a Reader to a Writer.

    Copy chars from a Reader to a Writer.

    This method buffers the input internally, so there is no need to use a BufferedReader.

  7. def copy(input: InputStream, output: OutputStream): Int

    Copy bytes from an InputStream to an OutputStream.

    Copy bytes from an InputStream to an OutputStream.

    This method buffers the input internally, so there is no need to use a BufferedInputStream.

  8. def copy(input: Resource[InputStream], output: Resource[OutputStream]): Int

    Copy bytes from an Resource[InputStream] to an Resource[OutputStream].

    Copy bytes from an Resource[InputStream] to an Resource[OutputStream].

    This method buffers the input internally, so there is no need to use a BufferedInputStream.

  9. def detectCharset(is: InputStream, useMarkReset: Boolean): Option[Charset]

    Attempt to detect the charset of the InputStream using the XML Detector or the Universal Detector

  10. def detectCharsetName(is: InputStream, useMarkReset: Boolean): Option[String]

    Attempt to detect the charset of the InputStream using the XML Detector or the Universal Detector

  11. def detectUniversalCharset(is: InputStream, useMarkReset: Boolean): Option[Charset]

    Attempt to detect the charset of the InputStream using org.mozilla.universalchardet.UniversalDetector

  12. def detectUniversalCharsetName(is: InputStream, useMarkReset: Boolean): Option[String]

    Attempt to detect the charset of the InputStream using org.mozilla.universalchardet.UniversalDetector

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def read(input: Reader, buffer: Array[Char], offset: Int, length: Int): Int

    Read characters from an input character stream.

    Read characters from an input character stream. This implementation guarantees that it will read as many characters as possible before giving up; this IS NOT ALWAYS the case for subclasses of Reader.

  23. def read(input: Reader, buffer: Array[Char]): Int

    Read characters from an input character stream.

    Read characters from an input character stream. This implementation guarantees that it will read as many characters as possible before giving up; this IS NOT ALWAYS the case for subclasses of Reader.

  24. def read(input: InputStream, buffer: Array[Byte], offset: Int, length: Int): Int

    Read bytes from an input stream.

    Read bytes from an input stream. This implementation guarantees that it will read as many bytes as possible before giving up; this IS NOT ALWAYS the case for subclasses of InputStream.

  25. def read(input: InputStream, buffer: Array[Byte]): Int

    Read bytes from an input stream.

    Read bytes from an input stream. This implementation guarantees that it will read as many bytes as possible before giving up; this IS NOT ALWAYS the case for subclasses of InputStream.

  26. def skip(input: Reader, toSkip: Long): Long

    Skip characters from an input character stream.

    Skip characters from an input character stream. This implementation guarantees that it will read as many characters as possible before giving up; this IS NOT ALWAYS the case for subclasses of Reader.

  27. def skip(input: InputStream, toSkip: Long): Long

    Skip bytes from an input byte stream.

    Skip bytes from an input byte stream. This implementation guarantees that it will read as many bytes as possible before giving up; this IS NOT ALWAYS the case for subclasses of Reader.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toBufferedInputStream(input: InputStream): BufferedInputStream

    If this is already a BufferedInputStream return this otherwise wrap in a BufferedInputStream

  30. def toBufferedOutputStream(output: OutputStream): BufferedOutputStream

    If this is already a BufferedOutputStream return this otherwise wrap in a BufferedOutputStream

  31. def toBufferedReader(input: Reader): BufferedReader

    If this is already a BufferedReader return this otherwise wrap in a BufferedReader

  32. def toBufferedWriter(output: Writer): BufferedWriter

    If this is already a BufferedWriter return this otherwise wrap in a BufferedWriter

  33. def toByteArray(input: InputStream): Array[Byte]

    Get the contents of an InputStream as a byte[].

    Get the contents of an InputStream as a byte[].

    This method buffers the input internally, so there is no need to use a BufferedInputStream.

  34. def toCharArray(input: Reader): Array[Char]

    Get the contents of a Reader as a character array.

    Get the contents of a Reader as a character array.

    This method buffers the input internally, so there is no need to use a BufferedReader.

  35. def toString(input: Reader): String

    Get the contents of a Reader as a String.

    Get the contents of a Reader as a String.

    This method buffers the input internally, so there is no need to use a BufferedReader.

  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped