AsciiDatabase
Class RowOption

java.lang.Object
  |
  +--AsciiDatabase.RowOption
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RowOption_select, RowOption_skip

abstract class RowOption
extends Object
implements Serializable

A row option is applied to one row within a data block. Each block of data read from the data file can be used to generate multiple rows of data. Subclasses of this abstract class represent specific row options.

Author:
chris.studholme@utoronto.ca
See Also:
Serialized Form

Constructor Summary
(package private) RowOption()
           
 
Method Summary
abstract  boolean rowOK(byte[] brecord)
          Verify that a row can be extracted from a block of data.
abstract  boolean rowOK(String srecord)
          Verify that a row can be extracted from a block of data.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

RowOption

RowOption()
Method Detail

rowOK

public abstract boolean rowOK(byte[] brecord)
Verify that a row can be extracted from a block of data.
Parameters:
brecord - block of data
Returns:
true if a row can be extracted, false otherwise

rowOK

public abstract boolean rowOK(String srecord)
Verify that a row can be extracted from a block of data.
Parameters:
srecord - block of data
Returns:
true if a row can be extracted, false otherwise