diff options
author | 2014-03-06 07:32:07 +0000 | |
---|---|---|
committer | 2014-03-06 07:32:07 +0000 | |
commit | d93eb680c463f6258f8b9e31bb379545b8679357 (patch) | |
tree | 0133f8580b2e85be2410b0f71759c2dd8521fe0c /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java | |
parent | db38d5cf632e6e20178ca3bc1603eabd71c74d41 (diff) | |
parent | de36b47d29b7d6bdfb448a97bef2dcc3f5649205 (diff) | |
download | latinime-d93eb680c463f6258f8b9e31bb379545b8679357.tar.gz latinime-d93eb680c463f6258f8b9e31bb379545b8679357.tar.xz latinime-d93eb680c463f6258f8b9e31bb379545b8679357.zip |
Merge "Use BinaryDictionaryUtils to read dictionary header."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/FormatSpec.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/FormatSpec.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java index 9abecbfec..484bb4b23 100644 --- a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java +++ b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java @@ -341,6 +341,7 @@ public final class FormatSpec { return null; } + @UsedForTesting public static DictDecoder getDictDecoder(final File dictFile, final long offset, final long length, final DictionaryBufferFactory factory) { if (dictFile.isDirectory()) { @@ -351,6 +352,7 @@ public final class FormatSpec { return null; } + @UsedForTesting public static DictDecoder getDictDecoder(final File dictFile, final long offset, final long length) { return getDictDecoder(dictFile, offset, length, DictDecoder.USE_READONLY_BYTEBUFFER); |