Package org.exist.backup

Examples of org.exist.backup.CreateBackupDialog


            }
        } else {
            defaultSelectedCollection = path.toString();
        }
       
        final CreateBackupDialog dialog = new CreateBackupDialog(
            properties.getProperty(InteractiveClient.URI, "xmldb:exist://")
            properties.getProperty(InteractiveClient.USER, SecurityManager.DBA_USER)
            properties.getProperty(InteractiveClient.PASSWORD, null),
            new File(preferences.get("directory.backup", System.getProperty("user.home"))),
            defaultSelectedCollection
        );
       
        if(JOptionPane.showOptionDialog(this, dialog, Messages.getString("ClientFrame.157"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, null) == JOptionPane.YES_OPTION) {
           
            final String collection = dialog.getCollection();
            final String backuptarget = dialog.getBackupTarget();
           
            // DWES add check here?
            final File target = new File(backuptarget);
            if(target.exists()){
                if(JOptionPane.showConfirmDialog( this,
View Full Code Here

TOP

Related Classes of org.exist.backup.CreateBackupDialog

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.