1 29 30 package com.caucho.vfs; 31 32 import java.io.IOException ; 33 import java.util.Map ; 34 import java.util.logging.Logger ; 35 36 39 public class SpyPath extends PathWrapper { 40 protected final static Logger log 41 = Logger.getLogger(SpyPath.class.getName()); 42 43 48 public SpyPath(Path path) 49 { 50 super(path); 51 } 52 53 64 public Path lookup(String userPath, Map <String ,Object > newAttributes) 65 { 66 return new SpyPath(super.lookup(userPath, newAttributes)); 67 } 68 69 72 public RandomAccessStream openRandomAccess() throws IOException 73 { 74 return new SpyRandomAccessStream(getWrappedPath().openRandomAccess()); 75 } 76 } 77 | Popular Tags |