if(source!=null) {
notAllowed("source","charset", charset);
notAllowed("source","content", content);
WildcardPatternFilter f = ( filter == null ? null : new WildcardPatternFilter( filter ) );
getZip().setParam( new ZipParamSource( source, entryPath, f, prefix, recurse() ) );
}
else if(content!=null) {
required("content","entrypath",entryPath);
notAllowed("content,entrypath","filter", filter);