/** * Get the encoding used for this ZipFileSet. * @return String encoding. * @since Ant 1.9.5 */ public String getEncoding() { if (isReference()) { AbstractFileSet ref = getRef(getProject()); return ref instanceof ArchiveFileSet ? ((ArchiveFileSet) ref).getEncoding() : null; } return encoding; }