diff options
author | 2013-10-18 02:07:58 -0700 | |
---|---|---|
committer | 2013-10-18 02:07:58 -0700 | |
commit | 9e03cf9d55130b703b0ec88f58d404e42f7a9218 (patch) | |
tree | 9b1465265ce4cb2c847cc4cf9be2f962c1b96dad /java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java | |
parent | a4c21cad60e12f0fa33a70e372f0f51e20c6c484 (diff) | |
parent | 2b7110ff1f55f33ad411efef4184ce822040a10b (diff) | |
download | latinime-9e03cf9d55130b703b0ec88f58d404e42f7a9218.tar.gz latinime-9e03cf9d55130b703b0ec88f58d404e42f7a9218.tar.xz latinime-9e03cf9d55130b703b0ec88f58d404e42f7a9218.zip |
am 2b7110ff: (2/2) Implement insertWord in Ver4DictUpdater.
* commit '2b7110ff1f55f33ad411efef4184ce822040a10b':
(2/2) Implement insertWord in Ver4DictUpdater.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java b/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java index ae344a2cd..f0fed3fda 100644 --- a/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java +++ b/java/src/com/android/inputmethod/latin/makedict/Ver4DictDecoder.java @@ -46,7 +46,7 @@ public class Ver4DictDecoder extends AbstractDictDecoder { protected static final int FILETYPE_BIGRAM_FREQ = 4; protected static final int FILETYPE_SHORTCUT = 5; - private final File mDictDirectory; + protected final File mDictDirectory; protected final DictionaryBufferFactory mBufferFactory; protected DictBuffer mDictBuffer; protected DictBuffer mFrequencyBuffer; @@ -178,7 +178,8 @@ public class Ver4DictDecoder extends AbstractDictDecoder { } // TODO: Consolidate this method and BigramContentWriter.getContentFilenames. - private static String[] getContentFilenames(final String name, final boolean hasTimestamp) { + protected static String[] getContentFilenames(final String name, + final boolean hasTimestamp) { final String[] contentFilenames; if (hasTimestamp) { contentFilenames = new String[] { name + FormatSpec.BIGRAM_FILE_EXTENSION, @@ -190,7 +191,7 @@ public class Ver4DictDecoder extends AbstractDictDecoder { } // TODO: Consolidate this method and BigramContentWriter.getContentIds. - private static String[] getContentIds(final boolean hasTimestamp) { + protected static String[] getContentIds(final boolean hasTimestamp) { final String[] contentIds; if (hasTimestamp) { contentIds = new String[] { FormatSpec.BIGRAM_FREQ_CONTENT_ID, |