org.milyn.edisax
Class EDIUtils
java.lang.Object
org.milyn.edisax.EDIUtils
public class EDIUtils
- extends Object
EDIUtils contain different helper-methods for handling edifact.
- Author:
- bardl
|
Method Summary |
static void |
main(String[] args)
|
static String[] |
split(String value,
String delimiter,
String escape)
Splits a String by delimiter as long as delimiter does not follow an escape sequence. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDIUtils
public EDIUtils()
split
public static String[] split(String value,
String delimiter,
String escape)
- Splits a String by delimiter as long as delimiter does not follow an escape sequence.
The split method follows the same behavior as the method splitPreserveAllTokens(String, String)
in
org.apache.commons.lang.StringUtils.
- Parameters:
value - the string to split, may be null.delimiter - the delimiter sequence. A null delimiter splits on whitespace.escape - the escape sequence. A null escape is allowed, and result will be consistent with the splitPreserveAllTokens method.
- Returns:
- an array of split edi-sequences, null if null string input.
main
public static void main(String[] args)
Copyright © 2008. All Rights Reserved.