KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > microedition > rms > RecordStore

javax.microedition.rms
Class RecordStore

java.lang.Object
  |
  +--javax.microedition.rms.RecordStore
See Also:
Top Examples, Source Code

public int addRecord(byte[] data,
                     int offset,
                     int numBytes)
              throws RecordStoreNotOpenException,
                     RecordStoreException,
                     RecordStoreFullException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addRecordListener(RecordListener listener)
See Also:
removeRecordListener(javax.microedition.rms.RecordListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int AUTHMODE_ANY
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int AUTHMODE_PRIVATE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void closeRecordStore()
                      throws RecordStoreNotOpenException,
                             RecordStoreException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void deleteRecord(int recordId)
                  throws RecordStoreNotOpenException,
                         InvalidRecordIDException,
                         RecordStoreException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void deleteRecordStore(String recordStoreName)
                              throws RecordStoreException,
                                     RecordStoreNotFoundException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public RecordEnumeration enumerateRecords(RecordFilter filter,
                                          RecordComparator comparator,
                                          boolean keepUpdated)
                                   throws RecordStoreNotOpenException
See Also:
RecordEnumeration.rebuild()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public long getLastModified()
                     throws RecordStoreNotOpenException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getName()
               throws RecordStoreNotOpenException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getNextRecordID()
                    throws RecordStoreNotOpenException,
                           RecordStoreException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getNumRecords()
                  throws RecordStoreNotOpenException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public byte[] getRecord(int recordId)
                 throws RecordStoreNotOpenException,
                        InvalidRecordIDException,
                        RecordStoreException
See Also:
setRecord(int, byte[], int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRecord(int recordId,
                     byte[] buffer,
                     int offset)
              throws RecordStoreNotOpenException,
                     InvalidRecordIDException,
                     RecordStoreException
See Also:
setRecord(int, byte[], int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRecordSize(int recordId)
                  throws RecordStoreNotOpenException,
                         InvalidRecordIDException,
                         RecordStoreException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSize()
            throws RecordStoreNotOpenException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSizeAvailable()
                     throws RecordStoreNotOpenException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getVersion()
               throws RecordStoreNotOpenException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static String[] listRecordStores()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static RecordStore openRecordStore(String recordStoreName,
                                          boolean createIfNecessary)
                                   throws RecordStoreException,
                                          RecordStoreFullException,
                                          RecordStoreNotFoundException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static RecordStore openRecordStore(String recordStoreName,
                                          boolean createIfNecessary,
                                          int authmode,
                                          boolean writable)
                                   throws RecordStoreException,
                                          RecordStoreFullException,
                                          RecordStoreNotFoundException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static RecordStore openRecordStore(String recordStoreName,
                                          String vendorName,
                                          String suiteName)
                                   throws RecordStoreException,
                                          RecordStoreNotFoundException
See Also:
openRecordStore(recordStoreName, false)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeRecordListener(RecordListener listener)
See Also:
addRecordListener(javax.microedition.rms.RecordListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setMode(int authmode,
                    boolean writable)
             throws RecordStoreException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setRecord(int recordId,
                      byte[] newData,
                      int offset,
                      int numBytes)
               throws RecordStoreNotOpenException,
                      InvalidRecordIDException,
                      RecordStoreException,
                      RecordStoreFullException
See Also:
getRecord(int, byte[], int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags