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() @HotSpotIntrinsicCandidate()
  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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def lines(implicit charset: Charset = DefaultCharset): Iterator[String]
  23. def md5: DigestInputStream
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. 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()
  28. def pipeTo(out: OutputStream, bufferSize: Int = DefaultBufferSize): out.type
  29. def reader(implicit charset: Charset = DefaultCharset): InputStreamReader
  30. def sha1: DigestInputStream
  31. def sha256: DigestInputStream
  32. def sha512: DigestInputStream
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withChecksum(checksum: Checksum): CheckedInputStream
  39. def withMessageDigest(digest: MessageDigest): DigestInputStream

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped