fm.common

IOUtils

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. 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.

  9. 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.

  10. 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.

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

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

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

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

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

    Attempt to detect the charset of the InputStream using org.

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

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

    Attempt to detect the charset of the InputStream using org.

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. 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.

  25. 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.

  26. 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.

  27. 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.

  28. 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.

  29. 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.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

  32. def toBufferedOutputStream(output: OutputStream): BufferedOutputStream

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

  33. def toBufferedReader(input: Reader): BufferedReader

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

  34. def toBufferedWriter(output: Writer): BufferedWriter

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

  35. 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.

  36. 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.

  37. 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.

  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped