|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.support.ParsingUtils
public class ParsingUtils
Various static string and parsing utilities.
| Constructor Summary | |
|---|---|
ParsingUtils()
|
|
| Method Summary | |
|---|---|
static String |
extractClasspath(String source,
String delimiter)
Extracts a classpath string from a source text. |
static String |
extractRunnableCommand(String source)
Extracts a string from another string which can be used as a command in shell. |
static long |
parseBytes(String string)
Parses the count of bytes from a string. |
static int |
parseBytesAsMegs(String string)
Parses the given string as a number representing megs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParsingUtils()
| Method Detail |
|---|
public static int parseBytesAsMegs(String string)
throws ParseException
string - the value string
ParseException - the parse exception
public static long parseBytes(String string)
throws ParseException
string - the value string
ParseException - the parse exceptionpublic static String extractRunnableCommand(String source)
source - Source string
public static String extractClasspath(String source,
String delimiter)
source - the source stringdelimiter - the delimiter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||