1 22 package org.jboss.virtual.plugins.vfs.helpers; 23 24 import org.jboss.virtual.VirtualFileVisitor; 25 import org.jboss.virtual.VisitorAttributes; 26 27 33 public abstract class AbstractVirtualFileVisitor implements VirtualFileVisitor 34 { 35 36 private final VisitorAttributes attributes; 37 38 41 protected AbstractVirtualFileVisitor() 42 { 43 this(null); 44 } 45 46 51 protected AbstractVirtualFileVisitor(VisitorAttributes attributes) 52 { 53 if (attributes == null) 54 attributes = VisitorAttributes.DEFAULT; 55 this.attributes = attributes; 56 } 57 58 public VisitorAttributes getAttributes() 59 { 60 return attributes; 61 } 62 } 63 | Popular Tags |