Package pdfdb.indexing.plugins

Examples of pdfdb.indexing.plugins.Indexer


     * @param path The path to check.
     * @return True if the file should be considered. */
    @Override
    protected boolean isUsed(String path)
    {
        Indexer i = IndexingProvider.getIndexer(path);
        IgnoredFileManager manager = IgnoredFileManager.getInstance();
        return i != null && manager.get(path) == null;
    }
View Full Code Here


    }

    @Override
    protected boolean isUsed(String path)
    {
        Indexer x = IndexingProvider.getIndexer(path);
        return x != null;
    }
View Full Code Here

     * @return The region array that the indexer provides.
     * @throws pdfdb.indexing.plugins.IndexingException If the file is
     * unindexable. */
    private static Region[] indexFile(String path) throws IndexingException
    {
        Indexer indexer = IndexingProvider.getIndexer(path);
        Region[] regions = indexer.index(path);
        if (regions == null)
            throw new IndexingException();
        else
            return regions;
    }
View Full Code Here

TOP

Related Classes of pdfdb.indexing.plugins.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.