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
- Protected
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[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[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 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 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
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- î
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.