protected boolean targetShouldSave(String uri, Archive anArchive) { return target == null || target.shouldSave(uri, anArchive); } }
/** * This is the one method through which all elements of an archive (file, nested archive, mof * resource, or manifest) will be tested before saving. Subclasses can override to do something * more specific */ protected boolean shouldSave(String uri) { return getFilter().shouldSave(uri, getArchive()); } }
protected boolean shouldSave(File aFile) { if (aFile.isArchive()) { return getFilter().shouldSave(aFile.getURI(), getArchive()); } return super.shouldSave(aFile); }