object Resource extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resource
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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 = NonEmptyVector[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
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def failIfNone[F[_], A](a: Option[A], msg: String)(implicit F: Sync[F]): F[A]
  12. implicit def fallbackResource: Resource[FallbackChain]
  13. implicit def fileResource(implicit ec: ExecutionContext): 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
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def loadFile[F[_], R](path: Worth[R], load: F[String])(implicit arg0: Resource[R], F: Sync[F]): F[List[Directive]]

    Convenience method for loading a file-like resource.

    Convenience method for loading a file-like resource. load is a IO 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: ExecutionContextExecutorService
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  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): ExecutionContextExecutorService
  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
    @native() @throws( ... )
  33. def watchEvent[F[_]](path: java.nio.file.Path)(implicit F: Async[F]): F[Stream[F, WatchEvent[_]]]
  34. val watchPool: ExecutionContextExecutorService

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped