final case class OutputStreamResource(resource: Resource[OutputStream], fileName: String = "", autoCompress: Boolean = true, compressionLevel: Int = Deflater.BEST_SPEED, buffered: Boolean = true, internalArchiveFileName: Option[String] = None) extends Resource[OutputStream] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OutputStreamResource
- Serializable
- Product
- Equals
- Resource
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val autoCompress: Boolean
- val buffered: Boolean
- def bufferedWriter(cs: Charset): Resource[BufferedWriter]
- def bufferedWriter(encoding: String): Resource[BufferedWriter]
- def bufferedWriter(): Resource[BufferedWriter]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val compressionLevel: Int
- def dataOutput(): Resource[DataOutput]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fileName: String
- final def flatMap[B](f: (OutputStream) => Resource[B]): Resource[B]
- Definition Classes
- Resource
- final def foreach[U](f: (OutputStream) => U): Unit
- Definition Classes
- Resource
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val internalArchiveFileName: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMultiUse: Boolean
Can this resource be used multiple times?
Can this resource be used multiple times?
- Definition Classes
- OutputStreamResource → Resource
- def isUsable: Boolean
Is this resource usable? i.e.
Is this resource usable? i.e. will the use() method work?
- Definition Classes
- OutputStreamResource → Resource
- final def map[B](f: (OutputStream) => B): Resource[B]
- Definition Classes
- Resource
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val resource: Resource[OutputStream]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def use[T](f: (OutputStream) => T): T
- Definition Classes
- OutputStreamResource → Resource
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writer(cs: Charset): Resource[Writer]
- def writer(encoding: String): Resource[Writer]
- def writer(): Resource[Writer]