public class ConfigUtil extends Object
Constructor and Description |
---|
ConfigUtil() |
Modifier and Type | Method and Description |
---|---|
static Blob |
getBlob(NodeState state,
String resourceName)
Assumes that given state is of type nt:file and then reads
the jcr:content/@jcr:data property to get the binary content
|
static boolean |
getOptionalValue(NodeState definition,
String propName,
boolean defaultVal) |
static double |
getOptionalValue(NodeState definition,
String propName,
double defaultVal) |
static float |
getOptionalValue(NodeState definition,
String propName,
float defaultVal) |
static int |
getOptionalValue(NodeState definition,
String propName,
int defaultVal) |
static String |
getOptionalValue(NodeState definition,
String propName,
String defaultVal) |
static String |
getPrimaryTypeName(NodeState nodeState) |
public static boolean getOptionalValue(NodeState definition, String propName, boolean defaultVal)
public static int getOptionalValue(NodeState definition, String propName, int defaultVal)
public static String getOptionalValue(NodeState definition, String propName, String defaultVal)
public static float getOptionalValue(NodeState definition, String propName, float defaultVal)
public static double getOptionalValue(NodeState definition, String propName, double defaultVal)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"