Class

better.files.Implicits

InputStreamExtensions

Related Doc: package Implicits

Permalink

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)

    Permalink

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. def adler32: CheckedInputStream

    Permalink
  5. def asGzipInputStream(bufferSize: Int = DefaultBufferSize): GZIPInputStream

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def asObjectInputStream(bufferSize: Int = DefaultBufferSize): ObjectInputStream

    Permalink

    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

    Permalink

    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

    Permalink
  10. def asZipInputStream(implicit charset: Charset = DefaultCharset): ZipInputStream

    Permalink
  11. def buffered(bufferSize: Int): BufferedInputStream

    Permalink
  12. def buffered: BufferedInputStream

    Permalink
  13. def byteArray: Array[Byte]

    Permalink
  14. def bytes: Iterator[Byte]

    Permalink
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def crc32: CheckedInputStream

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  23. def lines(implicit charset: Charset = DefaultCharset): Iterator[String]

    Permalink
  24. def md5: DigestInputStream

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. final def pipeTo(out: OutputStream, buffer: Array[Byte]): out.type

    Permalink

    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

    Permalink
  30. def reader(implicit charset: Charset = DefaultCharset): InputStreamReader

    Permalink
  31. def sha1: DigestInputStream

    Permalink
  32. def sha256: DigestInputStream

    Permalink
  33. def sha512: DigestInputStream

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

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def withChecksum(checksum: Checksum): CheckedInputStream

    Permalink
  40. def withMessageDigest(digest: MessageDigest): DigestInputStream

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped