Skip to content
Snippets Groups Projects
Commit 73665510 authored by Yuichiro Hanada's avatar Yuichiro Hanada
Browse files

Show more messages when reading a compressed combined format file.

Change-Id: I51a1b9454fcfe656e0fcf762dcfd9ecbadde86c3
parent 4deb824f
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,11 @@ public final class BinaryDictOffdeviceUtils { ...@@ -183,7 +183,11 @@ public final class BinaryDictOffdeviceUtils {
filename + " does not seem to be a dictionary file")); filename + " does not seem to be a dictionary file"));
} else if (CombinedInputOutput.isCombinedDictionary( } else if (CombinedInputOutput.isCombinedDictionary(
decodedSpec.mFile.getAbsolutePath())){ 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( return CombinedInputOutput.readDictionaryCombined(
new BufferedInputStream(new FileInputStream(decodedSpec.mFile))); new BufferedInputStream(new FileInputStream(decodedSpec.mFile)));
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment