javax.microedition.rms
Interface RecordFilter


public interface RecordFilter

An interface defining a filter which examines a record to see if it matches (based on an implementation-defined criteria). The application implements the match() method to select records to be returned by the RecordEnumeration. Returns true if the candidate record is selected by the RecordFilter. This interface is used in the record store for searching or subsetting records.

This document and the information contained in it are CONFIDENTIAL AND PROPRIETARY INFORMATION of Motorola, Inc. and shall not be used, published, disclosed, or disseminated outside of Motorola in whole or in part without Motorola's consent. This document contains trade secrets of Motorola. Reverse engineering of any or all of the information in this document in prohibited.

¿ Copyright 1999-2000 Motorola, Inc. All Rights Reserved. This notice does not imply publication


Version:
25-February-2000

Method Summary
 boolean matches(byte[] candidate)
          Returns true if the candidate matches the implemented criterion.
 

Method Detail

matches

public boolean matches(byte[] candidate)
Returns true if the candidate matches the implemented criterion.
Parameters:
candidate - The record to consider. Within this method, the application must treat this parameter as read-only.
Returns:
true if the candidate matches the implemented criterion.