public class AmxUtils
extends Object
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
asBoolean(Object value,
boolean defaultValue)
Attempts to convert a object (most likely a string) value to a boolean.
|
static <T> T |
invokeWithFeatureContext(String featureId,
java.util.function.Function<oracle.adfmf.framework.EmbeddedFeatureContext,T> function) |
static String |
resolvePathToPublicHtmlDirectory(String viewId)
Convert a view ID to one relative to the public HTML directory (one that can be used to locate the actual file
in the classpath)
|
public static String resolvePathToPublicHtmlDirectory(String viewId)
viewId - the view IDpublic static Boolean asBoolean(Object value,
boolean defaultValue)
value - the raw, unconverted valuedefaultValue - the value to use if the value is nullpublic static <T> T invokeWithFeatureContext(String featureId,
java.util.function.Function<oracle.adfmf.framework.EmbeddedFeatureContext,T> function)