IzResources

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

Attributes

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

Members list

Type members

Classlikes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

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

Attributes

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

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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