Package org.semanticdesktop.aperture.extractor

Examples of org.semanticdesktop.aperture.extractor.Extractor


        Model result = null;
        if (factories != null && !factories.isEmpty()) {
            // get extractor from the first available factory
            ExtractorFactory factory =
                (ExtractorFactory)factories.iterator().next();
            Extractor extractor = factory.get();
            RDFContainerFactory containerFactory =
                new RDFContainerFactoryImpl();
            RDFContainer container =
                containerFactory.getRDFContainer(docId);
            extractor.extract(
                container.getDescribedUri(),
                new BufferedInputStream(in, 8192),
                null, mimeType, container);
            in.close();
            result = container.getModel();
View Full Code Here

TOP

Related Classes of org.semanticdesktop.aperture.extractor.Extractor

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.