| Modifier and Type | Method and Description |
|---|---|
static Upload.KeyValue |
parseKV(String kv)
Parses a String of the form "foo: bar" into a KeyValue object whose KEY is the
String preceding the first colon and VALUE is the String following the first colon
( leading and trailing whitespaces are removed from KEY and VALUE ).
|
public static Upload.KeyValue parseKV(String kv) throws ParseException
kv - A String of the form "foo: bar"ParseException - If no colon is found in kvCopyright © 2021 McEvoy Software Ltd. All rights reserved.