1 16 package org.apache.commons.vfs.impl; 17 18 import org.apache.commons.vfs.FileName; 19 import org.apache.commons.vfs.FileType; 20 import org.apache.commons.vfs.provider.AbstractFileName; 21 22 27 public class VirtualFileName extends AbstractFileName 28 { 29 public VirtualFileName(final String scheme, final String absPath, final FileType type) 30 { 31 super(scheme, absPath, type); 32 } 33 34 public FileName createName(String absPath, FileType type) 35 { 36 return new VirtualFileName(getScheme(), absPath, type); 37 } 38 39 protected void appendRootUri(StringBuffer buffer) 40 { 41 buffer.append(getScheme()); 42 } 43 } 44 | Popular Tags |