Static Public Member Functions | |
static String | getFormat (String format, String name) |
Gets field format from dataline format string. | |
static String[] | getFuncFormats (String format, String name, int n) |
Gets an n-element array of field formats from dataline format string. | |
static String | getHeaderFormat (String format) |
Constructs header format string from dataline format string. |
static String gridripper::util::DataLineFormatUtil::getFormat | ( | String | format, | |
String | name | |||
) | [inline, static] |
Gets field format from dataline format string.
The dataline format string is a colon separated list of field name:format pairs, starting with a colon. Example: getFormat(":x:%9.6f:f:%13.6f", "f") returns "%13.6f".
format | the dataline format string | |
name | the field name |
static String [] gridripper::util::DataLineFormatUtil::getFuncFormats | ( | String | format, | |
String | name, | |||
int | n | |||
) | [inline, static] |
Gets an n-element array of field formats from dataline format string.
The dataline format string is a colon separated list of field name:format pairs, starting with a colon. The k-th element of the returned array is the format of the field named namek or, if it is not present, the format of "name" or empty string.
format | the dataline format string | |
name | the basename of the fields to query | |
n | number of fields to query |
static String gridripper::util::DataLineFormatUtil::getHeaderFormat | ( | String | format | ) | [inline, static] |
Constructs header format string from dataline format string.
format | the dataline format string |