Package org.apache.commons.jrcs.rcs

Examples of org.apache.commons.jrcs.rcs.Node


    private History parseFile(File file) throws IOException {
        try {
            Archive archive = new Archive(getRCSFile(file).getPath());
            Version ver = archive.getRevisionVersion();
            Node n = archive.findNode(ver);
            n = n.root();

            ArrayList<HistoryEntry> entries = new ArrayList<HistoryEntry>();
            traverse(n, entries);

            History history = new History();
View Full Code Here


        }
        traverse(n.getChild(), history);
        TreeMap<?,?> brt = n.getBranches();
        if (brt != null) {
            for (Iterator<?> i = brt.values().iterator(); i.hasNext();) {
                Node b = (Node) i.next();
                traverse(b, history);
            }
        }
        if (!n.isGhost()) {
            HistoryEntry entry = new HistoryEntry();
View Full Code Here

TOP

Related Classes of org.apache.commons.jrcs.rcs.Node

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.