it.jnrpe.utils
Class StringUtils
java.lang.Object
it.jnrpe.utils.StringUtils
public class StringUtils
- extends Object
A simple string util class
- Author:
- Massimiliano Ziccardi
|
Method Summary |
static String[] |
split(String sString,
boolean bIgnoreQuotes)
This is a simple utility to split strings. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtils
public StringUtils()
split
public static String[] split(String sString,
boolean bIgnoreQuotes)
- This is a simple utility to split strings.
The string is splitted following these rules (in the order):
- If a single quote (') or a double quote (") is found at the start of the word, the split will
occour at the next quote or double quote
- Otherwise, the split occurres as soon as a space is found.
- Parameters:
sString - The string to splitbIgnoreQuotes - For future implementation
- Returns:
- The splitted string
- Since:
- JNRPE Server 1.04
Copyright © 2011. All Rights Reserved.