1 28 29 package com.caucho.vfs; 30 31 import java.util.Map ; 32 33 public class NullPath extends Path { 34 private String _url; 35 36 public NullPath(String url) 37 { 38 super(null); 39 40 _url = url; 41 _schemeMap = SchemeMap.getNullSchemeMap(); 42 } 43 44 public Path schemeWalk(String userPath, Map <String ,Object > attributes, 45 String path, int offset) 46 { 47 return this; 48 } 49 50 public String getURL() 51 { 52 return _url; 53 } 54 55 public String getScheme() 56 { 57 return "null"; 58 } 59 60 public String getPath() 61 { 62 return _url; 63 } 64 65 public Path lookupImpl(String userPath, Map <String ,Object > newAttributes) 66 { 67 return this; 68 } 69 } 70 | Popular Tags |