Package javax.microedition.rms

Examples of javax.microedition.rms.RecordStore.deleteRecord()


        {
            RecordStore rs = null;
            try
            {
                rs = RecordStore.openRecordStore( RS_NAME, true );
                rs.deleteRecord( recordId.intValue() );
            }
            catch( RecordStoreException e )
            {
                log.error( e );
            }
View Full Code Here


            rs_availableAfterSet1000 = rs1.getSizeAvailable();
            rs1.setRecord( 1, new byte[ 10000 ], 0, 10000 );
            rs_availableAfterIncreasedSet = rs1.getSizeAvailable();
            rs1.setRecord( 1, new byte[ 1000 ], 0, 1000 );
            rs_availableAfterReducedSet = rs1.getSizeAvailable();
            rs1.deleteRecord( 1 );
            rs_availableAfterDeleteRecord = rs1.getSizeAvailable();
            rs1.closeRecordStore();

            RecordStore.deleteRecordStore( RSNAME1 );
View Full Code Here

            RecordFilter filtro=new RmsFiltro(nombre);
            RecordEnumeration re=rs.enumerateRecords(filtro,null,false);
            while(re.hasNextElement())
            {
                int el=re.nextRecordId();
                rs.deleteRecord(el);
            }
            rs.closeRecordStore();
        }
        catch (Exception e)
        {
View Full Code Here

            RecordFilter filtro=new AlmacenMicropocha.RmsFiltro(nombre);
            RecordEnumeration re=rs.enumerateRecords(filtro,null,false);
            while(re.hasNextElement())
            {
                int el=re.nextRecordId();
                rs.deleteRecord(el);
            }
            rs.closeRecordStore();
        }
        catch (Exception e)
        {
View Full Code Here

            RecordFilter filtro=new AlmacenMicropocha.RmsFiltro(nombre);
            RecordEnumeration re=rs.enumerateRecords(filtro,null,false);
            while(re.hasNextElement())
            {
                int el=re.nextRecordId();
                rs.deleteRecord(el);
            }
            rs.closeRecordStore();
        }
        catch (Exception e)
        {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.