Object

fm.common

IOUtils

Related Doc: package common

Permalink

object IOUtils

Collection of IO Utilities. Some implemented via Apache Commons IO

Linear Supertypes
AnyRef, Any
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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copy(input: Reader, output: Writer): Int

    Permalink

    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

    Permalink

    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

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

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

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

    Permalink

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

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def read(input: Reader, buffer: Array[Char], offset: Int, length: Int): Int

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  29. def toBufferedInputStream(input: InputStream): BufferedInputStream

    Permalink

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

  30. def toBufferedOutputStream(output: OutputStream): BufferedOutputStream

    Permalink

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

  31. def toBufferedReader(input: Reader): BufferedReader

    Permalink

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

  32. def toBufferedWriter(output: Writer): BufferedWriter

    Permalink

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

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

    Permalink

    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]

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped