Class ArrayUtil
java.lang.Object
org.apache.mina.http.ArrayUtil
An utility class for Array manipulations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]dropFromEndWhile(String[] array, String regex) Process an array of String and get rid of every Strings after an empty on.
-
Constructor Details
-
ArrayUtil
private ArrayUtil()
-
-
Method Details
-
dropFromEndWhile
Process an array of String and get rid of every Strings after an empty on.- Parameters:
array- The String[] array to processregex- unused- Returns:
- The resulting String[] which only contains non-empty Strings up to the first emtpy one
-