Package Utils

Examples of Utils.Eraser


    {
        YesNoCancelMessage ynmcQuestion=new YesNoCancelMessage(mwcHost, "Virtual cache", "<html>Are you sure that you want to delete database "+mwcHost.getProfile().getName()+"?<br>The data will be securely deleted without restoration possibility!</html>", false);
        ynmcQuestion.setVisible(true);
        if(ynmcQuestion.getResult()==YesNoCancelMessage.YES)
        {
            Eraser er=new Eraser(mwcHost.getOpenedFile());
            if(!er.Erase())
            {
                OKMessage okm=new OKMessage(mwcHost, "Unavble to delete file!");
                okm.setVisible(true);
                okm=null;
            }
View Full Code Here


    {
        YesNoCancelMessage ynmcQuestion=new YesNoCancelMessage(mwcHost, "Virtual cache", "<html>Are you sure that you want to delete database "+mwcHost.getProfile().getName()+"?<br>The data will be securely deleted without restoration possibility!</html>", false);
        ynmcQuestion.setVisible(true);
        if(ynmcQuestion.getResult()==YesNoCancelMessage.YES)
        {
            Eraser er=new Eraser(mwcHost.getOpenedFile());
            if(!er.Erase())
            {
                OKMessage okm=new OKMessage(mwcHost, "Unavble to delete file!");
                okm.setVisible(true);
                okm=null;
            }
View Full Code Here

TOP

Related Classes of Utils.Eraser

Copyright © 2018 www.massapicom. 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.