Package org.wikipediacleaner.api.check.algorithm

Examples of org.wikipediacleaner.api.check.algorithm.CheckErrorAlgorithmISBN


        CheckErrorAlgorithm algorithm = errorResult.getAlgorithm();
        PageElementISBN isbn = analysis.isInISBN(beginIndex);
        if (isbn != null) {
          if ((algorithm != null) &&
              (algorithm instanceof CheckErrorAlgorithmISBN)) {
            CheckErrorAlgorithmISBN isbnAlgo = (CheckErrorAlgorithmISBN) algorithm;
            String reason = isbnAlgo.getReason(isbn);
            if ((reason != null) && (reason.length() > 0)) {
              if (comment.length() > 0) {
                comment.append(" - ");
              }
              comment.append(reason);
View Full Code Here

TOP

Related Classes of org.wikipediacleaner.api.check.algorithm.CheckErrorAlgorithmISBN

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.