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