|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.common.util.CollectionUtil
public final class CollectionUtil
Some utils to help work with Collections.
for license details.
The copyright to this program is held by it's authors.
Constructor Summary | |
---|---|
private |
CollectionUtil()
Dont do this |
Method Summary | |
---|---|
static List |
createList(Iterable it)
Create a List from an Iterable. |
static Set |
createSet(Iterable it)
Create a Set from an Iterable. |
static Map |
properties2Map(Properties prop)
Convert a Properties into a Map . |
static Map |
properties2Map(URI propUri)
Convert a Properties located at propURI into a Map . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private CollectionUtil()
Method Detail |
---|
public static List createList(Iterable it)
it
- The source of data for the list
public static Set createSet(Iterable it)
it
- The source of data for the list
public static Map properties2Map(Properties prop)
Properties
into a Map
.
prop
- The Properties to convert
public static Map properties2Map(URI propUri) throws IOException
Properties
located at propURI
into a Map
.
propUri
- The URI of the Properties to convert
IOException
|
Copyright ยจ 2003-2007 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |