Package org.openide.util.io

Examples of org.openide.util.io.NbObjectOutputStream


        return settings;
    }

    private void saveJobSettings(IngestModuleFactory factory, IngestModuleIngestJobSettings settings) {
        try {
            try (NbObjectOutputStream out = new NbObjectOutputStream(new FileOutputStream(getModuleSettingsFilePath(factory)))) {
                out.writeObject(settings);
            }
        } catch (IOException ex) {
            String logMessage = String.format("Error saving ingest job settings for %s module for %s context", factory.getModuleDisplayName(), launcherContext); //NON-NLS
            logger.log(Level.SEVERE, logMessage, ex);
            String userMessage = NbBundle.getMessage(this.getClass(), "IngestJobConfigurator.saveJobSettings.usermsg", factory.getModuleDisplayName());
View Full Code Here

TOP

Related Classes of org.openide.util.io.NbObjectOutputStream

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.