diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:02 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:02 -0400 |
commit | 936d9e8484ff73282c8c0a277310d1ffdde86e10 (patch) | |
tree | 084d6d2e50f188b0e9c00c109a935efa6ad665fc /bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java | |
parent | 71a39f4652cd51df814c930dd268f3c9ad2aee86 (diff) |
Imported Upstream version 1.6.1+dfsg
Diffstat (limited to 'bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java')
-rw-r--r-- | bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java b/bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java index d6987e9..1816c77 100644 --- a/bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java +++ b/bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java @@ -249,17 +249,18 @@ System.out.println("ORB found in session"); ModInfo[] modInfoList = mgr.getModInfoList(); System.out.println("sequence size: " + modInfoList.length); SWModule module; -/* for (int i = 0; i < modInfoList.length; i++) { - System.out.println(modInfoList[i].name + ": " + modInfoList[i].category + ": " + modInfoList[i].language); + System.out.println(modInfoList[i].name + ": " + modInfoList[i].category + ": " + modInfoList[i].language + ": " + modInfoList[i].description); +/* module = mgr.getModuleByName(modInfoList[i].name); module.setKeyText("jas1:19"); System.out.println(module.getRenderText()); - } */ + } +/* module = mgr.getModuleByName("WHNU"); module.setKeyText("rev.22.21"); - System.out.println(new String(module.getRawEntry().getBytes("iso8859-1"), "UTF-8")); + System.out.println(module.getRawEntry()); /* boolean lucene = module.hasSearchFramework(); SearchHit[] searchResults = module.search("God love world", (lucene)?SearchType.LUCENE:SearchType.MULTIWORD, 0, ""); |