|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.core.utils.BundleLists
public class BundleLists
Contains utility functions for handling with bundle lists, that is, a comma-delimited list of strings that are contained as one line in a Java properties file. This class contains methods to parse and create these bundle lists.
| Constructor Summary | |
|---|---|
BundleLists()
|
|
| Method Summary | |
|---|---|
static String |
createBundleList(Object[] objArray)
Parses a Object array and puts them into a array of substrings, using a comma as a delimiter |
static String |
createBundleList(Object[] objArray,
String delimiter)
Parses a Object array and puts them into a array of substrings, using a comma as a delimiter |
static String[] |
parseBundleList(String list)
Parses a string into an array of substrings, using a comma as a delimiter and trimming whitespace. |
static String[] |
parseBundleList(String list,
String delimiter)
Parses a string into an array of substrings, using the specified delimeter and trimming whitespace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleLists()
| Method Detail |
|---|
public static String[] parseBundleList(String list)
list - The list formatted as a delimeter -delimited
string.
public static String[] parseBundleList(String list,
String delimiter)
list - The list formatted as a delimeter -delimited
string.delimiter - The delimeter.
public static String createBundleList(Object[] objArray)
objArray - The object array to be formatted as a comma-delimited string.
public static String createBundleList(Object[] objArray,
String delimiter)
objArray - The object array to be formatted as a comma-delimited string.delimiter - a String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||