trait WrappedProperties extends PropertiesTrait
For placing a wrapper function around property functions. Motivated by places like Google App Engine throwing exceptions on property lookups.
- Source
- WrappedProperties.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- WrappedProperties
- PropertiesTrait
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def wrap[T](body: => T): Option[T]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from WrappedProperties toany2stringadd[WrappedProperties] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (WrappedProperties, B)
- Implicit
- This member is added by an implicit conversion from WrappedProperties toArrowAssoc[WrappedProperties] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearProp(name: String): String
- Definition Classes
- WrappedProperties → PropertiesTrait
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val copyrightString: String
- Definition Classes
- PropertiesTrait
- val developmentVersion: Option[String]
- Definition Classes
- PropertiesTrait
- def encodingString: String
- Definition Classes
- PropertiesTrait
- def ensuring(cond: (WrappedProperties) => Boolean, msg: => Any): WrappedProperties
- Implicit
- This member is added by an implicit conversion from WrappedProperties toEnsuring[WrappedProperties] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (WrappedProperties) => Boolean): WrappedProperties
- Implicit
- This member is added by an implicit conversion from WrappedProperties toEnsuring[WrappedProperties] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): WrappedProperties
- Implicit
- This member is added by an implicit conversion from WrappedProperties toEnsuring[WrappedProperties] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): WrappedProperties
- Implicit
- This member is added by an implicit conversion from WrappedProperties toEnsuring[WrappedProperties] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def envOrElse(name: String, alt: => String): String
- Definition Classes
- WrappedProperties → PropertiesTrait
- def envOrNone(name: String): Option[String]
- Definition Classes
- WrappedProperties → PropertiesTrait
- def envOrSome(name: String, alt: => Option[String]): Option[String]
- Definition Classes
- WrappedProperties → PropertiesTrait
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from WrappedProperties toStringFormat[WrappedProperties] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- 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 isJavaAtLeast(version: Int): Boolean
- Definition Classes
- PropertiesTrait
- def isJavaAtLeast(version: String): Boolean
- Definition Classes
- PropertiesTrait
- def isLinux: Boolean
- Definition Classes
- PropertiesTrait
- def isMac: Boolean
- Definition Classes
- PropertiesTrait
- def isWin: Boolean
- Definition Classes
- PropertiesTrait
- def javaClassPath: String
- Definition Classes
- PropertiesTrait
- def javaHome: String
- Definition Classes
- PropertiesTrait
- def javaSpecName: String
- Definition Classes
- PropertiesTrait
- def javaSpecVendor: String
- Definition Classes
- PropertiesTrait
- def javaSpecVersion: String
- Definition Classes
- PropertiesTrait
- def javaVendor: String
- Definition Classes
- PropertiesTrait
- def javaVersion: String
- Definition Classes
- PropertiesTrait
- def javaVmInfo: String
- Definition Classes
- PropertiesTrait
- def javaVmName: String
- Definition Classes
- PropertiesTrait
- def javaVmVendor: String
- Definition Classes
- PropertiesTrait
- def javaVmVersion: String
- Definition Classes
- PropertiesTrait
- def jdkHome: String
- Definition Classes
- PropertiesTrait
- def lineSeparator: String
- Definition Classes
- PropertiesTrait
- def main(args: Array[String]): Unit
- Definition Classes
- PropertiesTrait
- 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 osName: String
- Definition Classes
- PropertiesTrait
- def pickJarBasedOn: Class[_ <: WrappedProperties]
- Attributes
- protected
- Definition Classes
- WrappedProperties → PropertiesTrait
- def propCategory: String
- Attributes
- protected
- Definition Classes
- WrappedProperties → PropertiesTrait
- val propFilename: String
- Attributes
- protected
- Definition Classes
- PropertiesTrait
- def propIsSet(name: String): Boolean
- Definition Classes
- WrappedProperties → PropertiesTrait
- def propIsSetTo(name: String, value: String): Boolean
- Definition Classes
- PropertiesTrait
- def propOrElse(name: String, alt: => String): String
- Definition Classes
- WrappedProperties → PropertiesTrait
- def propOrEmpty(name: String): String
- Definition Classes
- PropertiesTrait
- def propOrFalse(name: String): Boolean
- Definition Classes
- PropertiesTrait
- def propOrNone(name: String): Option[String]
- Definition Classes
- PropertiesTrait
- def propOrNull(name: String): String
- Definition Classes
- PropertiesTrait
- val releaseVersion: Option[String]
- Definition Classes
- PropertiesTrait
- def scalaCmd: String
- Definition Classes
- PropertiesTrait
- def scalaHome: String
- Definition Classes
- PropertiesTrait
- def scalaPropOrElse(name: String, alt: => String): String
- Definition Classes
- PropertiesTrait
- def scalaPropOrEmpty(name: String): String
- Definition Classes
- PropertiesTrait
- def scalaPropOrNone(name: String): Option[String]
- Definition Classes
- PropertiesTrait
- lazy val scalaProps: Properties
- Attributes
- protected
- Definition Classes
- PropertiesTrait
- def scalacCmd: String
- Definition Classes
- PropertiesTrait
- def setProp(name: String, value: String): String
- Definition Classes
- WrappedProperties → PropertiesTrait
- def sourceEncoding: String
- Definition Classes
- PropertiesTrait
- def sourceReader: String
- Definition Classes
- PropertiesTrait
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def systemProperties: List[(String, String)]
- def tmpDir: String
- Definition Classes
- PropertiesTrait
- def toString(): String
- Definition Classes
- AnyRef → Any
- def userDir: String
- Definition Classes
- PropertiesTrait
- def userHome: String
- Definition Classes
- PropertiesTrait
- def userName: String
- Definition Classes
- PropertiesTrait
- def versionMsg: String
- Definition Classes
- PropertiesTrait
- def versionNumberString: String
- Definition Classes
- PropertiesTrait
- val versionString: String
- Definition Classes
- PropertiesTrait
- 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()
Deprecated Value Members
- def →[B](y: B): (WrappedProperties, B)
- Implicit
- This member is added by an implicit conversion from WrappedProperties toArrowAssoc[WrappedProperties] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.