Show more messages when reading a compressed combined format file.

Change-Id: I51a1b9454fcfe656e0fcf762dcfd9ecbadde86c3
This commit is contained in:
Yuichiro Hanada 2013-10-08 17:04:28 +09:00
parent 4deb824f3a
commit 73665510ca

View file

@ -183,7 +183,11 @@ public final class BinaryDictOffdeviceUtils {
filename + " does not seem to be a dictionary file"));
} else if (CombinedInputOutput.isCombinedDictionary(
decodedSpec.mFile.getAbsolutePath())){
if (report) System.out.println("Format : Combined format");
if (report) {
System.out.println("Format : Combined format");
System.out.println("Packaging : " + decodedSpec.describeChain());
System.out.println("Uncompressed size : " + decodedSpec.mFile.length());
}
return CombinedInputOutput.readDictionaryCombined(
new BufferedInputStream(new FileInputStream(decodedSpec.mFile)));
} else {