borland Packages  Class Hierarchy  datastore Package  Index 

StreamVerifier class

java.lang.Object
   +----borland.datastore.SaveListener
           +----borland.datastore.BTree
                   +----borland.datastore.StreamVerifier

About the StreamVerifier class

Variables  Properties  Methods  
The StreamVerifier class is used to verify the integrity of a file stream (DataStore.FILE_STREAM) or DataSet stream (DataStore.TABLE_STREAM).

StreamVerifier variables

Variables implemented in this class

StreamVerifier properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

StreamVerifier methods

Methods implemented in this class

Methods implemented in borland.datastore.BTree

Methods implemented in java.lang.Object


StreamVerifier variables

DATA

  public static final int DATA = 0x0001
Display the data in the stream.

ERRORS

  public static final int ERRORS = 0x0004
Display errors encountered during of stream verification.

PROGRESS

  public static final int PROGRESS = 0x0002
Display progress of stream verification.

SILENT

  public static final int SILENT = 0x0008
With this set, all other display mask settings are ignored if there are no errors. If there are errors detected, the stream will be reverified with the other display mask settings.

SILENT_VERBOSE

  public static final int SILENT_VERBOSE = (SILENT|VERBOSE)
Same as SILENT|VERBOSE.

VERBOSE

  public static final int VERBOSE = (DATA|PROGRESS|ERRORS)
Enable all display options.

StreamVerifier methods

verify(borland.datastore.DataStore, int, int)

  public static final void verify(borland.datastore.DataStore dataStore, int displayMask, int errorCount)
Checks the ingetrity of all the streams in the DataStore. A DataStoreException is thrown if there are any errors detected.

Parameters:

dataStore
The DataStore to verify.
displayMask
Instructs the verifier to display progress messages as the stream is verified.
errorCount
Indicates the number of errors that can be ignored before an Exception is thrown.

verify(borland.datastore.DataStore, java.lang.String, int, int)

  public static final void verify(borland.datastore.DataStore dataStore, java.lang.String storeName, int displayMask, int errorCount)
Checks the ingetrity of the storeName stream inside the DataStore. A DataStoreException is thrown if there are any errors detected.

Parameters:

dataStore
DataStore that contains the storeName stream.
storeName
Name of stream to verify.
displayMask
Instructs verifier to display progress messages as the stream is verified.
errorCount
Indicates the number of errors that can be ignored before an exception is thrown.

verify(borland.jbcl.dataset.DataSet, int, int)

  public static final void verify(borland.jbcl.dataset.DataSet dataSet, int displayMask, int errorCount)
Checks the ingetrity of all DataStore.TABLE_STREAM types used by this DataSet. A DataSetException is thrown if there are any errors detected.

Parameters:

displayMask
Instructs verifier to display progress messages as the stream is verified.
errorCount
Indicates the number of errors that can be ignored before an exception is thrown.