class Properties extends AnyRef
Object containing configuration properties.
- Alphabetic
- By Inheritance
- Properties
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Properties(contents: Map[String, String] = Map())
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Properties → AnyRef → Any
-
def
get[T](key: String)(implicit convert: (String) ⇒ T): Option[T]
Get a value converted to an implicitly converted type.
Get a value converted to an implicitly converted type.
- T
Type of the value
- key
Key
- convert
Conversion implicit
- returns
Value option
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getContents: Map[String, String]
Get contents of the this properties set.
-
def
getOrElse[T](key: String, default: T)(implicit convert: (String) ⇒ T): T
Get a value converted to an implicity cobverted type with a default value.
Get a value converted to an implicity cobverted type with a default value.
- T
Type of the value
- key
Key
- default
Default value
- convert
Conversion implicit
- returns
Value
-
def
has(key: String): Boolean
Get whether a key has any value
Get whether a key has any value
- key
Key
- returns
True when it exists
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
keys(): Set[String]
Get a set if keys in this properties.
-
def
merge(properties: Properties): Properties
Merges two Properties object.
Merges two Properties object.
- properties
the second properties object. These properties will override the keys of *this*.
- returns
new properties.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
set[T](key: String, value: T)(implicit convert: (T) ⇒ String): Properties
Set a value of an implicitly converted type
Set a value of an implicitly converted type
- T
Type of value
- key
Key
- value
Value
- convert
Conversion implicit
- returns
New immutable properties
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJavaProperties: java.util.Properties
Acquire a Java Properties object containing the same properties as this object.
Acquire a Java Properties object containing the same properties as this object.
- returns
a Java Properties object
- Note
Some Flink internal systems use Properties. Only use this for those.
-
def
toString(): String
- Definition Classes
- Properties → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )