|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--danger.app.DataFinder
| Constructor Summary | |
DataFinder(DataStore ds,
DataRecord template)
Create a new DataFinder that searches the specified DataStore and uses the provided template DataRecord. |
|
| Method Summary | |
DataRecord |
findNextContains(byte[] key,
int row)
Find the next record that contains the key string at the specified row (or null if no match) |
DataRecord |
findNextContains(byte[] key,
int row,
int col)
Find the next record that contains the key string at the specified row and column (or null if no match) |
int |
getColumn()
Return the column number of the last match or -1 if no match has been found yet |
int |
getLength()
Return the length of the field that was last matched or -1 if there has not yet been a match. |
java.lang.String |
getMatchedString()
Return a string containing the last match or null if there has not yet been a match. |
int |
getOffset()
Return the offset into the underlying byte array of the field that was last matched or -1 if there has not yet been a match. |
int |
getRecordNumber()
Return the record number of the last match or -1 if no match has been found yet |
void |
rewind()
Next search will start at the first record. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataFinder(DataStore ds,
DataRecord template)
| Method Detail |
public void rewind()
public DataRecord findNextContains(byte[] key,
int row,
int col)
public DataRecord findNextContains(byte[] key,
int row)
public int getRecordNumber()
public int getColumn()
public int getOffset()
public int getLength()
public java.lang.String getMatchedString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||