예제 #1
0
 @Override
 public String getDetails(boolean countHiddenChildren) {
   String ret = super.getDetails(countHiddenChildren);
   if (!isDirectory()) ret += " (" + OpenPath.formatSize(ze.getCompressedSize()) + ")";
   return ret;
 }
예제 #2
0
 public static String formatSize(long size, int decimalPoints) {
   return OpenPath.formatSize(size, decimalPoints, true);
 }