Package railo.commons.io.res.type.compress

Examples of railo.commons.io.res.type.compress.CompressResource


                   }
               }
           // Archive
               if(mapping.hasArchive() && res.getResourceProvider() instanceof CompressResourceProvider) {
                 Resource archive = mapping.getArchive();
                 CompressResource cr = ((CompressResource) res);
                 if(archive.equals(cr.getCompressResource())) {
                   return mapping.getPageSource(cr.getCompressPath());
                 }
               }
            }
        }
       
        // config mappings
        for(int i=0;i<this.mappings.length;i++) {
            mapping = this.mappings[i];
             
         // Physical
            if(mapping.hasPhysical()) {
              path=ResourceUtil.getPathToChild(res, mapping.getPhysical());
                if(path!=null) {
                  return mapping.getPageSource(path);
                }
            }
        // Archive
            if(mapping.hasArchive() && res.getResourceProvider() instanceof CompressResourceProvider) {
            Resource archive = mapping.getArchive();
            CompressResource cr = ((CompressResource) res);
            if(archive.equals(cr.getCompressResource())) {
              return mapping.getPageSource(cr.getCompressPath());
            }
            }
        }
       
    // map resource to root mapping when same filesystem
View Full Code Here

TOP

Related Classes of railo.commons.io.res.type.compress.CompressResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.