object Loader
- Alphabetic
- By Inheritance
- Loader
- AnyRef
- Any
- Hide All
- Show All
- 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
- def bytesFromClasspath(path: String): Array[Byte]
- path
Relative to one of the elements in classpath, without leading "/"
- def bytesFromFile(file: File): Array[Byte]
- def bytesFromFile(path: String): Array[Byte]
- def bytesFromInputStream(is: InputStream): Array[Byte]
The input stream will be closed by this method after reading.
- def bytesToFile(bytes: Array[Byte], path: String): Unit
Writes bytes to the specified file path.
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- def jsonFromClasspath[T](path: String)(implicit e: DefaultsTo[T, String], m: Manifest[T]): Option[T]
- path
Relative to one of the elements in classpath, without leading "/"
- def jsonFromFile[T](file: File)(implicit e: DefaultsTo[T, String], m: Manifest[T]): Option[T]
- def jsonFromFile[T](path: String)(implicit e: DefaultsTo[T, String], m: Manifest[T]): Option[T]
- 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()
- def propertiesFromClasspath(path: String): Properties
- path
Relative to one of the elements in classpath, without leading "/"
- def propertiesFromFile(file: File): Properties
- def propertiesFromFile(path: String): Properties
- def stringFromClasspath(path: String): String
- path
Relative to one of the elements in classpath, without leading "/"
- def stringFromFile(file: File): String
Charset is UTF-8
- def stringFromFile(path: String): String
Charset is UTF-8
- def stringFromFile(file: File, charset: Charset): String
- def stringFromFile(path: String, charset: Charset): String
- def stringFromFile(file: File, charset: String): String
- def stringFromFile(path: String, charset: String): String
- def stringFromInputStream(is: InputStream): String
Charset is UTF-8
- def stringFromInputStream(is: InputStream, charset: Charset): String
- def stringFromInputStream(is: InputStream, charset: String): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()