Package org.openbel.framework.core.indexer

Examples of org.openbel.framework.core.indexer.Indexer


        String equivalenceIndexLocation = asPath(
                equivalenceHeaderFile.getParent(), "equivalence.index");

        if (!new File(equivalenceIndexLocation).exists()) {
            Indexer equivalenceIndexer = new Indexer();
            equivalenceIndexer.indexEquivalenceFile(characterStopOffset,
                    rawEquivalenceFile, equivalenceIndexLocation);
        }

        return new DataFileIndex(equivalenceResourceLocation,
                equivalenceIndexLocation, equivalenceHeaderFile);
View Full Code Here


        long characterStopOffset = proc.getCharacterStopOffset();

        final String nsVersionPath = hdrFile.getParent();
        String nsIdxLoc = asPath(nsVersionPath, "namespace.index");

        Indexer namespaceIndexer = new Indexer();
        namespaceIndexer.indexNamespaceFile(characterStopOffset,
                rawNamespaceFile,
                nsIdxLoc);

        return new DataFileIndex(resourceLocation, nsIdxLoc, hdrFile);
    }
View Full Code Here

TOP

Related Classes of org.openbel.framework.core.indexer.Indexer

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.