diff options
author | 2013-09-12 09:15:27 -0700 | |
---|---|---|
committer | 2013-09-12 09:15:27 -0700 | |
commit | 712fb6c613884542bde094b5d01e5167b9a76e40 (patch) | |
tree | 954fc045ae7f9752cfdd2e194e22cd84dc572e30 /java/src/com/android/inputmethod/latin/makedict/DictDecoder.java | |
parent | b66ecdeb7f589e2963e3e57768fd1fc71aad16b5 (diff) | |
parent | a6dc3056ffefd40e8fa93060d096c80889e82633 (diff) | |
download | latinime-712fb6c613884542bde094b5d01e5167b9a76e40.tar.gz latinime-712fb6c613884542bde094b5d01e5167b9a76e40.tar.xz latinime-712fb6c613884542bde094b5d01e5167b9a76e40.zip |
am a6dc3056: Merge "Add getDictDecoder."
* commit 'a6dc3056ffefd40e8fa93060d096c80889e82633':
Add getDictDecoder.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/DictDecoder.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/DictDecoder.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java b/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java index 5e398bd41..40e852423 100644 --- a/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java +++ b/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java @@ -118,6 +118,14 @@ public interface DictDecoder { public boolean readForwardLinkAndAdvancePosition(); public boolean hasNextPtNodeArray(); + /** + * Opens the dictionary file and makes DictBuffer. + */ + @UsedForTesting + public void openDictBuffer() throws FileNotFoundException, IOException; + @UsedForTesting + public boolean isOpenedDictBuffer(); + // Flags for DictionaryBufferFactory. public static final int USE_READONLY_BYTEBUFFER = 0x01000000; public static final int USE_BYTEARRAY = 0x02000000; |