Package rife.bld.extension.propertyfile
Class Entry
Declares the modifications to be made to a
String-based property
.- Since:
- 1.0
- Author:
- Erik C. Thauvin, Geert Bevin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BiFunction<String,
String, String> modify()
Returns the modify function.Sets the modify function.modify
(BiFunction<String, String, String> modify) Sets the modify function.protected String
Returns the value to be used in themodify_
function.Sets the newproperty
value.
-
Constructor Details
-
Entry
Creates a newentry
.- Parameters:
key
- the required property key
-
-
Method Details
-
modify
Returns the modify function.- Returns:
- the modify function
-
modify
Sets the modify function.- Parameters:
modify
- the modify function
-
modify
Sets the modify function.- Parameters:
value
- the value to perform a modification withmodify
- the modify function
-
modifyValue
Returns the value to be used in themodify_
function.- Returns:
- the modify value
-
set
Sets the newproperty
value.- Parameters:
s
- The new value- Returns:
- the entry
-