Package com.sshtools.common.mru

Examples of com.sshtools.common.mru.MRUList


                throw new AccessControlException(
                    "Application preferences directory not specified.");
            }

            InputStream in = null;
            MRUList mru = new MRUList();

            try {
                File f = new File(a, getApplicationName() + ".mru");

                if (f.exists()) {
                    if (log.isDebugEnabled()) {
                        log.debug("Loading MRU from " + f.getAbsolutePath());
                    }

                    in = new FileInputStream(f);
                    mru.reload(in);
                } else {
                    if (log.isDebugEnabled()) {
                        log.debug("MRU file " + f.getAbsolutePath() +
                            " doesn't exist, creating empty list");
                    }
View Full Code Here


                throw new AccessControlException(
                    "Application preferences directory not specified.");
            }

            InputStream in = null;
            MRUList mru = new MRUList();

            try {
                File f = new File(a, getApplicationName() + ".mru");

                if (f.exists()) {
                    if (log.isDebugEnabled()) {
                        log.debug("Loading MRU from " + f.getAbsolutePath());
                    }

                    in = new FileInputStream(f);
                    mru.reload(in);
                } else {
                    if (log.isDebugEnabled()) {
                        log.debug("MRU file " + f.getAbsolutePath() +
                            " doesn't exist, creating empty list");
                    }
View Full Code Here

TOP

Related Classes of com.sshtools.common.mru.MRUList

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.