public class PropertyParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_DEFAULT_VALUE_SEPARATOR
The special property key that specify a separator for key and default value on placeholder.
|
static String |
KEY_ENABLE_DEFAULT_VALUE
The special property key that indicate whether enable a default value on placeholder.
|
public static final String KEY_ENABLE_DEFAULT_VALUE
The default value is false (indicate disable a default value on placeholder)
If you specify the true, you can specify key and default value on placeholder (e.g. ${db.username:postgres}).
public static final String KEY_DEFAULT_VALUE_SEPARATOR
The default separator is ":".
public static String parse(String string, Properties variables)
Copyright © 2009–2021 MyBatis.org. All rights reserved.