com.sun.squawk.rms
Class RecordStoreManager
java.lang.Object
   com.sun.squawk.rms.RecordStoreManager
com.sun.squawk.rms.RecordStoreManager
- All Implemented Interfaces: 
- INorFlashMemoryHeapScanner, IRecordStoreManager
- public class RecordStoreManager 
- extends Object- implements IRecordStoreManager
 
 
 
 
memoryHeap
protected INorFlashMemoryHeap memoryHeap
currentRecordStores
protected IRecordStoreEntry[] currentRecordStores
currentApplicationDescriptor
protected IApplicationDescriptorEntry currentApplicationDescriptor
memoryHeapScanner
protected INorFlashMemoryHeapScanner memoryHeapScanner
scanVisitor
protected IRmsEntryVisitor scanVisitor
reScanVisitor
protected IRmsEntryVisitor reScanVisitor
RecordStoreManager
protected RecordStoreManager()
RecordStoreManager
public RecordStoreManager(INorFlashMemoryHeap memoryHeap)
                   throws RecordStoreException
- Throws:
- RecordStoreException
RecordStoreManager
public RecordStoreManager(INorFlashMemoryHeap memoryHeap,
                          INorFlashMemoryHeapScanner memoryHeapScanner,
                          IRmsEntryVisitor scanVisitor,
                          IRmsEntryVisitor reScanVisitor)
                   throws RecordStoreException
- Throws:
- RecordStoreException
checkMIDletVersion
protected String checkMIDletVersion(String nameInstalled,
                                    String vendorInstalled,
                                    String versionInstalled)
- 
 
- 
 
deleteRecordStore
public boolean deleteRecordStore(String name)
                          throws RecordStoreException
- 
- Specified by:
- deleteRecordStorein interface- IRecordStoreManager
 
- 
- Throws:
- RecordStoreException
 
getEntryAt
public IRmsEntry getEntryAt(Address address)
                     throws RecordStoreException
- 
- Specified by:
- getEntryAtin interface- IRecordStoreManager
 
- 
- Throws:
- RecordStoreException
 
getEntryIn
public IRmsEntry getEntryIn(IMemoryHeapBlock block)
                     throws RecordStoreException
- 
 
- 
- Throws:
- RecordStoreException
 
getErasedSequenceCurrentValue
public long getErasedSequenceCurrentValue()
- 
- Specified by:
- getErasedSequenceCurrentValuein interface- IRecordStoreManager
 
- 
 
getRecordStore
protected IRecordStoreEntry getRecordStore(int storeId)
- 
 
- 
 
getRecordStore
public IRecordStoreEntry getRecordStore(String name,
                                        boolean createIfNecessary)
                                 throws RecordStoreException
- 
- Specified by:
- getRecordStorein interface- IRecordStoreManager
 
- 
- Throws:
- RecordStoreException
 
getRecordStoreNames
public String[] getRecordStoreNames()
- 
- Specified by:
- getRecordStoreNamesin interface- IRecordStoreManager
 
- 
 
getSizeAvailable
public int getSizeAvailable()
                     throws RecordStoreException
- 
- Specified by:
- getSizeAvailablein interface- IRecordStoreManager
 
- 
- Throws:
- RecordStoreException
 
init
protected void init()
             throws RecordStoreException
- 
 
- 
- Throws:
- RecordStoreException
 
invalidateEntryAt
public void invalidateEntryAt(Address address)
                       throws RecordStoreException
- 
- Specified by:
- invalidateEntryAtin interface- IRecordStoreManager
 
- 
- Throws:
- RecordStoreException
 
logEntry
public Address logEntry(IRmsEntry entry)
                 throws RecordStoreException
- 
- Specified by:
- logEntryin interface- IRecordStoreManager
 
- 
- Throws:
- RecordStoreException
 
reScanBlock
public void reScanBlock(Address oldAddress,
                        Address newAddress,
                        IMemoryHeapBlock block)
                 throws RecordStoreException
- 
- Specified by:
- reScanBlockin interface- INorFlashMemoryHeapScanner
 
- 
- Throws:
- RecordStoreException
 
scanBlock
public void scanBlock(IMemoryHeapBlock block)
               throws RecordStoreException
- 
- Specified by:
- scanBlockin interface- INorFlashMemoryHeapScanner
 
- 
- Throws:
- RecordStoreException
 
"For updated information see the Java FRC site"