Packages

final case class InputStreamResource(resource: Resource[InputStream], fileName: String = "", autoDecompress: Boolean = true, autoBuffer: Boolean = true) extends Resource[InputStream] with Logging with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InputStreamResource
  2. Serializable
  3. Product
  4. Equals
  5. Logging
  6. Resource
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InputStreamResource(resource: Resource[InputStream], fileName: String = "", autoDecompress: Boolean = true, autoBuffer: Boolean = true)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val autoBuffer: Boolean
  6. val autoDecompress: Boolean
  7. def buffered(): Resource[BufferedInputStream]
  8. def bufferedReader(cs: Charset): Resource[BufferedReader]
  9. def bufferedReader(encoding: String): Resource[BufferedReader]
  10. def bufferedReader(): Resource[BufferedReader]
  11. def bufferedUTFReader(): Resource[Reader]
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. def dataInput(): Resource[DataInput]
  14. def detectCharset(): Option[Charset]

    Requires use() to be called so it will consume the Resource

  15. def detectCharsetName(): Option[String]

    Requires use() to be called so it will consume the Resource

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val fileName: String
  18. final def flatMap[B](f: (InputStream) => Resource[B]): Resource[B]
    Definition Classes
    Resource
  19. final def foreach[U](f: (InputStream) => U): Unit
    Definition Classes
    Resource
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isMultiUse: Boolean

    Can this resource be used multiple times?

    Can this resource be used multiple times?

    Definition Classes
    InputStreamResourceResource
  23. def isUsable: Boolean

    Is this resource usable? i.e.

    Is this resource usable? i.e. will the use() method work?

    Definition Classes
    InputStreamResourceResource
  24. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @transient()
  25. final def map[B](f: (InputStream) => B): Resource[B]
    Definition Classes
    Resource
  26. def md5: Array[Byte]
  27. def md5Hex: String
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. def readBytes(): Array[Byte]
  33. def readToString(charset: Charset): String

    A helper to read the input stream to a string

  34. def readToString(encoding: String): String

    A helper to read the input stream to a string

  35. def readToString(): String
  36. def reader(charset: Charset): Resource[Reader]

    Create a reader for this InputStream using the given encoding or auto-detect the encoding if the parameter is blank

  37. def reader(encoding: String): Resource[Reader]

    Create a reader for this InputStream using the given encoding or auto-detect the encoding if the parameter is blank

  38. def reader(): Resource[Reader]

    Create a reader for this InputStream and use auto-detection for the charset encoding with a fallback of UTF-8 if the charset cannot be detected

  39. def readerWithDetectedCharset(): Resource[Reader]
  40. val resource: Resource[InputStream]
  41. def sha1: Array[Byte]
  42. def sha1Hex: String
  43. def showArchiveEntries(): Unit
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def use[T](f: (InputStream) => T): T
    Definition Classes
    InputStreamResourceResource
  46. def utfReader(): Resource[Reader]

    Creates a UTF-8/16/32 reader based on the BOM encoding with UTF-8 being a default

  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. def writeTo(output: OutputStream): Unit
  51. def writeTo(output: Resource[OutputStream]): Unit

Deprecated Value Members

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from Resource[InputStream]

Inherited from AnyRef

Inherited from Any

Ungrouped