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