public class DataRow
extends java.util.ArrayList<java.lang.String>
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
Constructor and Description |
---|
DataRow() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsNonEmptyValues() |
boolean |
containsValue(java.lang.String match) |
boolean |
containsValueMatchingRegEx(java.lang.String regEx) |
void |
dumpToLog() |
int |
getIndexOfNextNonEmptyValueAfter(int startIndex) |
int |
getIndexOfValueMatchingRegEx(java.lang.String regEx) |
int |
getIndexOfValueMatchingRegExAfter(java.lang.String regEx,
int startIndex) |
void |
stripEmptyValues()
Strips out all empty values, compressing the row.
|
java.lang.String |
toString() |
void |
trimEmptyValues()
Trims empty values from the end of the row.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public void trimEmptyValues()
public void stripEmptyValues()
public boolean containsNonEmptyValues()
public boolean containsValueMatchingRegEx(java.lang.String regEx)
public int getIndexOfValueMatchingRegEx(java.lang.String regEx)
public int getIndexOfValueMatchingRegExAfter(java.lang.String regEx, int startIndex)
public boolean containsValue(java.lang.String match)
public int getIndexOfNextNonEmptyValueAfter(int startIndex)
public java.lang.String toString()
toString
in class java.util.AbstractCollection<java.lang.String>
public void dumpToLog()