- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setNewToken (0.06 sec)
-
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java
assertFalse(kuromojiItem.isDeleted()); kuromojiItem.setNewToken("T1"); kuromojiItem.setNewSegmentation("S1"); kuromojiItem.setNewReading("R1"); kuromojiItem.setNewPos("P1"); assertTrue(kuromojiItem.isUpdated()); assertFalse(kuromojiItem.isDeleted()); kuromojiItem.setNewToken(""); assertTrue(kuromojiItem.isUpdated());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
20); assertEquals(3, itemList1.size()); final KuromojiItem kuromojiItem1 = itemList1.get(0); kuromojiItem1.setNewToken("TOKEN1"); kuromojiItem1.setNewSegmentation("SEG1"); kuromojiItem1.setNewReading("READING1"); kuromojiItem1.setNewPos("POS1"); kuromojiFile.update(kuromojiItem1);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
reload(updater); } } @Override public synchronized void delete(final KuromojiItem item) { final KuromojiItem kuromojiItem = item; kuromojiItem.setNewToken(StringUtil.EMPTY); try (KuromojiUpdater updater = new KuromojiUpdater(item)) { reload(updater); } } protected void reload(final KuromojiUpdater updater) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java
newSegmentation = segmentation; newReading = reading; newPos = pos; } } public String getNewToken() { return newToken; } public void setNewToken(final String newToken) { this.newToken = newToken; } public String getNewSegmentation() { return newSegmentation; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
public static OptionalEntity<KuromojiItem> createKuromojiItem(final FessBaseAction action, final CreateForm form, final VaErrorHook hook) { return getEntity(form).map(entity -> { entity.setNewToken(form.token); entity.setNewSegmentation(form.segmentation); entity.setNewReading(form.reading); entity.setNewPos(form.pos); return entity; }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.8K bytes - Viewed (0)