Codota Logo
PassageKeyFactory.getGlobalKeyList
Code IndexAdd Codota to your IDE (free)

How to use
getGlobalKeyList
method
in
org.crosswire.jsword.passage.PassageKeyFactory

Best Java code snippets using org.crosswire.jsword.passage.PassageKeyFactory.getGlobalKeyList (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: crosswire/jsword

public final Key getGlobalKeyList() {
  if (global == null) {
    try {
      global = getBackend().getGlobalKeyList();
      return global;
    } catch (UnsupportedOperationException ex) {
      // fail silently, operation not supported by the backend
      log.debug(ex.getMessage());
    } catch (BookException ex) {
      // failing silently, as previous behavior was to attempt to
      // return as much as we can using the slower method
      log.debug(ex.getMessage());
    }
    Versification v11n = super.getVersification();
    global = super.createEmptyKeyList();
    Key all = PassageKeyFactory.instance().getGlobalKeyList(v11n);
    for (Key key : all) {
      if (contains(key)) {
        global.addAll(key);
      }
    }
  }
  return global;
}
org.crosswire.jsword.passagePassageKeyFactorygetGlobalKeyList

Javadoc

Get a Passage containing all the Verses in this Versification. This differs from org.crosswire.jsword.book.Book#getGlobalKeyList which gets the verses in the Book, which may be a small part of the whole.

Popular methods of PassageKeyFactory

  • getKey
    Convert the passageReference into a Passage. This is the recommended form for understanding referenc
  • instance
    This PassageKeyFactory is accessed through this instance.
  • createEmptyKeyList
    Create an empty list of keys for the v11n
  • getValidKey
    Convert the passageReference into a Passage or an empty Passage, if there is an error. Note, this is
  • setDefaultType
    Set the default PassageType
  • binarySize
    Write to buffer (starting at index) the given number using a set of bytes as required by the max pos
  • fromBinary
    Read and return an int from the buffer (starting at index[0]) using a set of bytes as required by th
  • mungOsisRef
    Replace spaces with semi-colons, because the parser expects them.
  • normalize
    The internals of a Passage require that references are separated with a reference delimiter. However
  • toBinary
    Write to buffer (starting at index) the given number using a set of bytes as required by the max pos

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • notifyDataSetChanged (ArrayAdapter)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Notification (javax.management)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JLabel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now