@Override public OpenPath getChild(String name) { try { for (OpenPath kid : list()) if (kid.getName().equals(name)) return kid; } catch (IOException e) { } return null; }
@Override public OpenPath getChild(String name) { try { OpenPath[] kids = list(); for (OpenPath kid : kids) if (kid.getName().equals(name)) return kid; } catch (Exception e) { } return null; }
@Override public OpenPath getChild(String name) { try { for (OpenPath kid : list()) if (kid.getName().equals(name)) return kid; } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return null; }
@Override protected void finalize() throws Throwable { super.finalize(); if (mLZMA != null) try { mLZMA.close(); } catch (Exception e) { } if (mRAF != null) try { mRAF.close(); } catch (Exception e) { } }
@Override public String getDetails(boolean countHiddenChildren) { String ret = super.getDetails(countHiddenChildren); if (!isDirectory()) ret += " (" + OpenPath.formatSize(ze.getCompressedSize()) + ")"; return ret; }