Coverage Report - org.webslinger.commons.vfs.util.FileAttributeBaseWrapper
 
Classes in this File Line Coverage Branch Coverage Complexity
FileAttributeBaseWrapper
100%
8/8
N/A
0
 
 1  
 package org.webslinger.commons.vfs.util;
 2  
 
 3  
 import org.apache.commons.vfs.FileObject;
 4  
 
 5  
 public abstract class FileAttributeBaseWrapper<F extends FileObject> {
 6  
     protected final F file;
 7  
     protected final FileAttributeResolver<F> resolver;
 8  
 
 9  7202
     protected FileAttributeBaseWrapper(F file, FileAttributeResolver<F> resolver) {
 10  7202
         this.file = file;
 11  7202
         this.resolver = resolver;
 12  7202
     }
 13  
 
 14  
     protected FileAttributeBaseWrapper(FileAttributeBaseWrapper<F> wrapper) {
 15  77
         this(wrapper.getFile(), wrapper.getResolver());
 16  77
     }
 17  
 
 18  
     protected F getFile() {
 19  197
         return file;
 20  
     }
 21  
 
 22  
     protected FileAttributeResolver<F> getResolver() {
 23  77
         return resolver;
 24  
     }
 25  
 }
 26