コード例 #1
0
ファイル: OpenLZMA.java プロジェクト: BenEdridge/OpenExplorer
 @Override
 public String getDetails(boolean countHiddenChildren) {
   String ret = super.getDetails(countHiddenChildren);
   if (!isDirectory()) ret += " (" + OpenPath.formatSize(ze.getCompressedSize()) + ")";
   return ret;
 }
コード例 #2
0
ファイル: OpenPath.java プロジェクト: BenEdridge/OpenExplorer
 public static String formatSize(long size, int decimalPoints) {
   return OpenPath.formatSize(size, decimalPoints, true);
 }