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
Constructors -
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 StringReturns the value to be used in themodify_function.Sets the newpropertyvalue.
-
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 newpropertyvalue.- Parameters:
s- The new value- Returns:
- the entry
-