Examples of ReasoningServiceInputProvider


Examples of org.apache.stanbol.reasoners.servicesapi.ReasoningServiceInputProvider

             *
             * @return
             */
            private boolean nextProvider() {
                if (pIterator.hasNext()) {
                    ReasoningServiceInputProvider provider = pIterator.next();
                    if (provider.adaptTo(type)) {
                        // If this provider can adapt
                        try {
                            current = provider.getInput(type);
                        } catch (IOException e) {
                            // This is bad, but we can go on to the next :)
                            logger.error("Cannot get input from provider", e);
                            return nextProvider();
                        }
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.