Output dictionary format version for dump.

Change-Id: I13873727dbb25550a5087c883968a77094d2115d
This commit is contained in:
Keisuke Kuroyanagi 2014-05-14 11:39:28 +09:00
parent 84070cbc74
commit 935150795b

View file

@ -607,6 +607,7 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
Log.d(TAG, "Dump dictionary: " + mDictName); Log.d(TAG, "Dump dictionary: " + mDictName);
try { try {
final DictionaryHeader header = mBinaryDictionary.getHeader(); final DictionaryHeader header = mBinaryDictionary.getHeader();
Log.d(TAG, "Format version: " + mBinaryDictionary.getFormatVersion());
Log.d(TAG, CombinedFormatUtils.formatAttributeMap( Log.d(TAG, CombinedFormatUtils.formatAttributeMap(
header.mDictionaryOptions.mAttributes)); header.mDictionaryOptions.mAttributes));
} catch (final UnsupportedFormatException e) { } catch (final UnsupportedFormatException e) {