c

better.files.Implicits

InputStreamExtensions

implicit class InputStreamExtensions extends AnyRef

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

Instance Constructors

  1. new InputStreamExtensions(in: InputStream)

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. def adler32: CheckedInputStream
  5. def asGzipInputStream(bufferSize: Int = DefaultBufferSize): GZIPInputStream
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asObjectInputStream(bufferSize: Int = DefaultBufferSize): ObjectInputStream

    If bufferSize is set to less than or equal to 0, we don't buffer

  8. def asObjectInputStreamUsingClassLoader(classLoader: ClassLoader = getClass.getClassLoader, bufferSize: Int = DefaultBufferSize): ObjectInputStream

    bufferSize

    If bufferSize is set to less than or equal to 0, we don't buffer Code adapted from: https://github.com/apache/commons-io/blob/master/src/main/java/org/apache/commons/io/input/ClassLoaderObjectInputStream.java

    returns

    A special ObjectInputStream that loads a class based on a specified ClassLoader rather than the default This is useful in dynamic container environments.

  9. def asString(closeStream: Boolean = true, bufferSize: Int = DefaultBufferSize)(implicit charset: Charset = DefaultCharset): String
  10. def asZipInputStream(implicit charset: Charset = DefaultCharset): ZipInputStream
  11. def buffered(bufferSize: Int): BufferedInputStream
  12. def buffered: BufferedInputStream
  13. def byteArray: Array[Byte]
  14. def bytes: Iterator[Byte]
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  16. def crc32: CheckedInputStream
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def lines(implicit charset: Charset = DefaultCharset): Iterator[String]
  24. def md5: DigestInputStream
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def pipeTo(out: OutputStream, buffer: Array[Byte]): out.type

    Pipe an input stream to an output stream using a byte buffer

    Pipe an input stream to an output stream using a byte buffer

    Annotations
    @tailrec()
  29. def pipeTo(out: OutputStream, bufferSize: Int = DefaultBufferSize): out.type
  30. def reader(implicit charset: Charset = DefaultCharset): InputStreamReader
  31. def sha1: DigestInputStream
  32. def sha256: DigestInputStream
  33. def sha512: DigestInputStream
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. def withChecksum(checksum: Checksum): CheckedInputStream
  40. def withMessageDigest(digest: MessageDigest): DigestInputStream

Inherited from AnyRef

Inherited from Any

Ungrouped