|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.acmsl.queryj.QueryUtils
Provides some useful methods when working with queries.
Constructor Summary | |
protected |
QueryUtils()
Protected constructor to avoid accidental instantiation. |
Method Summary | |
java.lang.String |
concatenate(java.util.Collection items,
java.lang.String separator)
Concatenates all elements of given collection using a separator. |
static QueryUtils |
getInstance()
Retrieves a QueryUtils instance. |
protected static java.lang.ref.WeakReference |
getReference()
Retrieves the weak reference. |
protected static void |
setReference(QueryUtils utils)
Specifies a new weak reference. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected QueryUtils()
Method Detail |
protected static void setReference(QueryUtils utils)
utils
- the utils instance to use.protected static java.lang.ref.WeakReference getReference()
public static QueryUtils getInstance()
public java.lang.String concatenate(java.util.Collection items, java.lang.String separator)
items
- the collection.separator
- the separator.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |