object Resource extends PlatformSpecificInstances
- Source
- Resource.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Resource
- PlatformSpecificInstances
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- implicit val bytesInputResource: InputResource[Array[Byte]]
- implicit val charsReaderResource: ReaderResource[Array[Char]]
- Definition Classes
- PlatformSpecificInstances
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val fileInputResource: InputResource[File]
- Definition Classes
- PlatformSpecificInstances
- implicit val fileOutputResource: OutputResource[File]
- Definition Classes
- PlatformSpecificInstances
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def from[I, R](f: (I) => OpenResult[R]): Resource[I, R]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit val pathInputResource: InputResource[Path]
- Definition Classes
- PlatformSpecificInstances
- implicit val pathOutputResource: OutputResource[Path]
- Definition Classes
- PlatformSpecificInstances
- implicit def readerFromStream[A](implicit arg0: InputResource[A], codec: scala.io.Codec): ReaderResource[A]
Turns any InputResource into a ReaderResource using whatever implicit
Codec
is found in scope. - implicit def readerReaderResource[R <: Reader]: ReaderResource[R]
- implicit def streamInputResource[I <: InputStream]: InputResource[I]
- implicit def streamOutputResource[O <: OutputStream]: OutputResource[O]
- implicit val stringReaderResource: ReaderResource[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit val uriInputResource: InputResource[URI]
- Definition Classes
- PlatformSpecificInstances
- implicit val urlInputResource: InputResource[URL]
- Definition Classes
- PlatformSpecificInstances
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- implicit def writerFromStream[A](implicit arg0: OutputResource[A], codec: scala.io.Codec): WriterResource[A]
Turns any OutputResource into a WriterResource using whatever implicit
Codec
is found in scope. - implicit def writerWriterResource[W <: Writer]: WriterResource[W]