object Resource

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resource
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class ClassPath (s: String, loader: ClassLoader) extends Product with Serializable
  2. type FallbackChain = OneAnd[Vector, ResourceBox]
  3. implicit class ResourceOps [R] extends AnyRef

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 apply[B](r: B)(implicit B: Resource[B]): ResourceBox

    Construct a new boxed resource from a valid Resource

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def box[B](r: B)(implicit B: Resource[B]): ResourceBox
  7. implicit def classPathResource: Resource[ClassPath]
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def failIfNone[A](a: Option[A], msg: String): Task[A]
  12. implicit def fallbackResource: Resource[FallbackChain]
  13. implicit def fileResource: Watchable[File]
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def loadFile[R](path: Worth[R], load: Task[String])(implicit arg0: Resource[R]): Task[List[Directive]]

    Convenience method for loading a file-like resource.

    Convenience method for loading a file-like resource. load is a Task that does the work of turning the resource into a String that gets parsed by the ConfigParser.

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val notificationPool: ExecutorService
  21. final def notify(): Unit
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. def or[R1, R2](r1: R1, r2: R2)(implicit arg0: Resource[R1], arg1: Resource[R2]): FallbackChain

    Returns a resource that tries r1, and if it fails, falls back to r2

  24. def pool(name: String): ExecutorService
  25. def resolveName(parent: String, child: String): String

    Convenience method for resolving a path-like name relative to another.

    Convenience method for resolving a path-like name relative to another. resolve("foo/bar", "baz") = "foo/baz" resolve("foo/bar/", "baz") = "foo/bar/baz" resolve(_, "/bar") = "/bar"

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. implicit def sysPropsResource: Resource[Pattern]
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. implicit def uriResource: Resource[URI]
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def watchEvent(path: java.nio.file.Path): Task[Process[Task, WatchEvent[_]]]
  34. val watchPool: ExecutorService

Inherited from AnyRef

Inherited from Any

Ungrouped