Some utility functions to parse the output
from the dbm info commands.
Those functions turns the string output into ArrayList of
JavaBeans.
author: tom author: (c) 2001, 2003 Thomas Cataldo
getInfoAsStrings(String info, String separatorChar) Parses the output of any of the info command,
and turns it into an ArrayList of String arrays.
Each the string array element is a field for the info
command.
Parses the output of any of the info command,
and turns it into an ArrayList of String arrays.
Each the string array element is a field for the info
command. Whitespaces at the end are trimmed.
Parameters: info - Parameters: separatorChar - the separator used between the info fields an ArrayList<String[]>
Parses the "info caches" output and turns it CacheInfoEntry beans.
Parameters: info - the output of "info caches" command an ArrayList of CacheInfoEntry beans.
Parses the "info data" output and turns it DataInfoEntry beans.
Parameters: info - the output of "info data" command an ArrayList of DataInfoEntry beans.
Parses the "info locks" output and turns it LockInfoEntry beans.
Parameters: info - the output of "info locks" command an ArrayList of LockInfoEntry beans.
Parses the "info caches" output and turns it CacheInfoEntry beans.
Parameters: info - the output of "info caches" command an ArrayList of CacheInfoEntry beans.
Parses the "info version" output and turns it VersionInfoEntry beans.
Parameters: info - the output of "info caches" command an ArrayList of VersionInfoEntry beans.