Methods
Modifier and Type |
Method and Description |
static Object |
castTo(PageContext pc,
Class trgClass,
Object obj) |
static void |
closeEL(InputStream is) |
static void |
closeEL(OutputStream os) |
static void |
closeEL(Reader r) |
static void |
closeEL(ResultSet rs) |
static void |
closeEL(Writer w) |
static Config |
config() |
static Array |
createArray() |
static DateTime |
createDateTime(long time) |
static Collection.Key |
createKey(String key) |
static MappingImpl |
createMapping(Config config,
String virtual,
String physical) |
static Property |
createProperty(String name,
String type) |
static Query |
createQuery(Array names,
Array types,
int rows,
String name) |
static Query |
createQuery(Collection.Key[] columns,
int rows,
String name) |
static RefBoolean |
createRefBoolean() |
static Struct |
createStruct() |
static boolean |
equalsComplexEL(Object left,
Object right) |
static DataSource |
getDataSource(PageContext pc,
String name) |
static DatasourceConnection |
getDatasourceConnection(PageContext pc,
DataSource ds) |
static Document |
getDocument(Node node) |
static Object |
getMetaStructItem(Component c,
Collection.Key name) |
static Property[] |
getProperties(Component c,
boolean onlyPeristent,
boolean includeBaseProperties,
boolean preferBaseProperties,
boolean inheritedMappedSuperClassOnly) |
static Reader |
getReader(Resource res,
Charset charset) |
static Writer |
getWriter(OutputStream os,
Charset cs) |
static Writer |
getWriter(Resource res,
Charset charset,
boolean append) |
static boolean |
isArray(Object obj) |
static boolean |
isPersistent(Component c) |
static boolean |
isStruct(Object obj) |
static Collection.Key[] |
keys(Collection coll) |
static String |
last(String list,
char delimiter) |
static String |
last(String list,
String delimiter) |
static int |
listFindNoCaseIgnoreEmpty(String list,
String value,
char delimiter) |
static Document |
newDocument() |
static PageContext |
pc() |
static void |
releaseDatasourceConnection(PageContext pc,
DatasourceConnection dc) |
static void |
setEntity(Component c,
boolean entity) |
static void |
setFirst(Node parent,
Node node) |
static Array |
toArray(Argument arg) |
static Array |
toArray(Object obj) |
static Array |
toArray(Object obj,
Array defaultValue) |
static Boolean |
toBoolean(Object obj) |
static Boolean |
toBoolean(Object obj,
Boolean defaultValue) |
static Boolean |
toBoolean(String str) |
static Boolean |
toBoolean(String str,
Boolean defaultValue) |
static boolean |
toBooleanValue(Object obj) |
static boolean |
toBooleanValue(Object obj,
boolean defaultValue) |
static Boolean |
toBooleanValue(String str) |
static Boolean |
toBooleanValue(String str,
Boolean defaultValue) |
static BufferedReader |
toBufferedReader(Reader r) |
static BufferedReader |
toBufferedReader(Resource res,
Charset charset) |
static Component |
toComponent(Object obj) |
static Component |
toComponent(Object obj,
Component defaultValue) |
static Document |
toDocument(Resource res,
Charset cs) |
static Integer |
toInteger(Object obj) |
static Integer |
toInteger(Object obj,
Integer defaultValue) |
static int |
toIntValue(Object obj) |
static int |
toIntValue(Object obj,
int defaultValue) |
static Object |
toList(String[] arr,
String delimiter) |
static Object[] |
toNativeArray(Object obj) |
static PageException |
toPageException(Throwable t) |
static Serializable |
toSerializable(Object obj) |
static Serializable |
toSerializable(Object obj,
Serializable defaultValue) |
static SQLItem |
toSQLItem(Object value,
int type) |
static String |
toString(boolean b) |
static String |
toString(double d) |
static String |
toString(int i) |
static String |
toString(long l) |
static String |
toString(Object obj) |
static String |
toString(Object obj,
String defaultValue) |
static String |
toString(Reader reader) |
static String |
toString(Resource file,
Charset charset)
reads String data from File
|
static String[] |
toStringArray(String list,
char delimiter) |
static String[] |
toStringArray(String list,
String delimiter) |
static Struct |
toStruct(Object obj) |
static Struct |
toStruct(Object obj,
Struct defaultValue) |
static String |
toTypeName(Object obj) |
static Node |
toXML(Object obj) |
static Node |
toXML(Object obj,
Node defaultValue) |
static String[] |
trimItems(String[] arr) |
static void |
write(Resource res,
String string,
Charset cs,
boolean append) |