001 package railo.runtime.tag; 002 003 import org.apache.oro.text.regex.MalformedPatternException; 004 005 import railo.commons.io.res.Resource; 006 import railo.commons.io.res.util.WildCardFilter; 007 008 public class ZipParamSource { 009 010 private Resource source; 011 private String entryPath; 012 private WildCardFilter filter; 013 private String prefix; 014 private boolean recurse; 015 016 public ZipParamSource(Resource source, String entryPath, WildCardFilter filter,String prefix, boolean recurse) { 017 this.source=source; 018 this.entryPath=entryPath; 019 this.filter=filter; 020 this.prefix=prefix; 021 this.recurse=recurse; 022 } 023 024 /** 025 * @return the source 026 */ 027 public Resource getSource() { 028 return source; 029 } 030 031 /** 032 * @return the entryPath 033 */ 034 public String getEntryPath() { 035 return entryPath; 036 } 037 038 /** 039 * @return the filter 040 * @throws MalformedPatternException 041 */ 042 public WildCardFilter getFilter(){ 043 return filter; 044 } 045 046 /** 047 * @return the prefix 048 */ 049 public String getPrefix() { 050 return prefix; 051 } 052 053 /** 054 * @return the recurse 055 */ 056 public boolean isRecurse() { 057 return recurse; 058 } 059 060 }