public class UtlTailoringCore extends Object
This class IS NOT intended to be used by end users.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UtlTailoringCore.PropertySource
Defines the core property source used for tailoring
|
static class |
UtlTailoringCore.TailoringException
Indicates that an error occured tailoring String content
|
| Constructor and Description |
|---|
UtlTailoringCore() |
| Modifier and Type | Method and Description |
|---|---|
static String |
delimitedReplace(String string,
UtlTailoringCore.PropertySource props,
int start,
String openString,
String closeString,
String defaultDelimiter,
boolean preserveDefaults)
Performs property substitution on the given string.
|
public static final String delimitedReplace(String string, UtlTailoringCore.PropertySource props, int start, String openString, String closeString, String defaultDelimiter, boolean preserveDefaults) throws UtlTailoringCore.TailoringException
string - The String on which to perform substitution.props - The property source to used for replacements.start - The position from which to search for replacements.openString - The string that serves as a marker for substitution.closeString - The string that serves as a marker for the end of substitution.defaultDelimiter - The delimiter that delimits a property name from a delimiter.preserveDefaults - When true if a value is not specified in the properties the default will be left in place.UtlTailoringCore.TailoringException - If there is an exception tailoring the provided String.Copyright © 2019 N5 Technologies, Inc. All Rights Reserved.