IzResources

izumi.fundamentals.platform.resources.IzResources$
See theIzResources companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class FileContent(path: Path, content: Array[Byte])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class LoadablePathReference(path: Path, fileSystem: FileSystem) extends AutoCloseable with PathReference

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AutoCloseable
class Object
trait Matchable
class Any
sealed trait PathReference

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class RecursiveCopyOutput(files: Seq[Path])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ResourceLocation

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Jar
object NotFound.type
final case class UnloadablePathReference(uri: URI) extends PathReference

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(clazz: Class[_]): IzResources
def apply(classLoader: ClassLoader): IzResources
def getPath(resPath: String): Option[PathReference]
def jarResource[C : ClassTag](fileName: String): ResourceLocation
def read(fileName: String): Option[InputStream]
def readAsString(fileName: String): Option[String]

Implicits

Implicits

implicit def toResources(clazz: Class[_]): IzResources
implicit def toResources(classLoader: ClassLoader): IzResources