Examples of IgnoredNames


Examples of org.opensolaris.opengrok.index.IgnoredNames

           model.setValueAt(defaultval, row, 3);
           row++;
        }
        this.projectsTable.setModel(model);

        IgnoredNames in = config.getIgnoredNames();
        List<String> ignoredpatternlist = in.getItems();
        DefaultTableModel ignoredModel = new DefaultTableModel(ignoredNamesHeaders,ignoredpatternlist.size());
        row = 0;
        for (String item: ignoredpatternlist) {
            ignoredModel.setValueAt(item, row, 0);
            row++;
View Full Code Here

Examples of org.opensolaris.opengrok.index.IgnoredNames

        setRamBufferSize(defaultRamBufferSize); //MB
        setVerbose(false);
        setPrintProgress(false);
        setGenerateHtml(true);
        setQuickContextScan(true);
        setIgnoredNames(new IgnoredNames());
        setIncludedNames(new Filter());
        setUserPage("http://www.myserver.org/viewProfile.jspa?username=");
        setBugPage("http://bugs.myserver.org/bugdatabase/view_bug.do?bug_id=");
        setBugPattern("\\b([12456789][0-9]{6})\\b");
        setReviewPage("http://arc.myserver.org/caselog/PSARC/");
View Full Code Here

Examples of org.opensolaris.opengrok.index.IgnoredNames

        assertNotNull(files);
        if (directories) {
            files.add(root);
        }

        IgnoredNames ignore = RuntimeEnvironment.getInstance().getIgnoredNames();

        for (File f : root.listFiles()) {
            if (!ignore.ignore(f)) {
                if (f.isDirectory()) {
                    getAllFiles(f, files, directories);
                } else {
                    files.add(f);
                }
View Full Code Here

Examples of org.opensolaris.opengrok.index.IgnoredNames

        out.write("<thead>\n<tr><th/><th>Name</th><th></th><th>Date</th><th>Size</th>");
        if (offset > 0) {
            out.write("<th><tt>Description</tt></th>");
        }
        out.write("</tr>\n</thead>\n<tbody>\n");
        IgnoredNames ignoredNames = RuntimeEnvironment.getInstance().getIgnoredNames();

        Format dateFormatter = new SimpleDateFormat("dd-MMM-yyyy", Locale.getDefault());

        // print the '..' entry even for empty directories
        if (path.length() != 0) {
            out.write("<tr><td><p class=\"'r'\"/></td><td>");
            out.write("<b><a href=\"..\">..</a></b></td><td></td>");
            PrintDateSize(out, dir.getParentFile(), null, dateFormatter);
            out.write("</tr>\n");
        }

        Map<String, Date> modTimes =
                HistoryGuru.getInstance().getLastModifiedTimes(dir);

        if (files != null) {
            for (String file : files) {
                if (ignoredNames.ignore(file)) {
                    continue;
                }
                File child = new File(dir, file);
                if (ignoredNames.ignore(child)) {
                    continue;
                }
                if (file.startsWith("README") || file.endsWith("README")
                    || file.startsWith("readme"))
                {
View Full Code Here

Examples of org.watermint.sourcecolon.org.opensolaris.opengrok.index.IgnoredNames

        setIndexWordLimit(Integer.MAX_VALUE);
        setVerbose(false);
        setPrintProgress(false);
        setGenerateHtml(true);
        setQuickContextScan(false);
        setIgnoredNames(new IgnoredNames());
        setIncludedNames(new Filter());
        setUsingLuceneLocking(false);
        setCompressXref(true);
        setIndexVersionedFilesOnly(false);
        setHitsPerPage(25);
View Full Code Here

Examples of org.watermint.sourcecolon.org.opensolaris.opengrok.index.IgnoredNames

        assertNotNull(files);
        if (directories) {
            files.add(root);
        }

        IgnoredNames ignore = RuntimeEnvironment.getInstance().getIgnoredNames();

        for (File f : root.listFiles()) {
            if (!ignore.ignore(f)) {
                if (f.isDirectory()) {
                    getAllFiles(f, files, directories);
                } else {
                    files.add(f);
                }
View Full Code Here

Examples of org.watermint.sourcecolon.org.opensolaris.opengrok.index.IgnoredNames

        }
    }

    public List<Map<String, String>> getDirectoryFiles() {
        List<Map<String, String>> files = new ArrayList<>();
        IgnoredNames ignoredNames = getEnv().getIgnoredNames();

        for (String filename : getResourceFileList()) {
            if (ignoredNames.ignore(filename)) {
                continue;
            }

            File file = new File(getResourceFile(), filename);
            Map<String, String> f = new HashMap<>();
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.