Merge "Making 'dicttool header' output format version"

main
Adrian Velicu 2014-11-11 01:34:35 +00:00 committed by Android (Google) Code Review
commit 0691f29d36
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ public class Header extends Dicttool.Command {
System.out.println("Dictionary : " + dictFile.getAbsolutePath()); System.out.println("Dictionary : " + dictFile.getAbsolutePath());
System.out.println("Size : " + dictFile.length() + " bytes"); System.out.println("Size : " + dictFile.length() + " bytes");
System.out.println("Format : Binary dictionary format"); System.out.println("Format : Binary dictionary format");
System.out.println("Format version : " + header.mFormatOptions.mVersion);
System.out.println("Packaging : " + spec.describeChain()); System.out.println("Packaging : " + spec.describeChain());
System.out.println("Header attributes :"); System.out.println("Header attributes :");
System.out.print(header.mDictionaryOptions.toString(2 /* indentCount */, plumbing)); System.out.print(header.mDictionaryOptions.toString(2 /* indentCount */, plumbing));