| 1 | |
package org.webslinger.commons.vfs.virtual; |
| 2 | |
|
| 3 | |
import org.apache.commons.vfs.FileName; |
| 4 | |
import org.apache.commons.vfs.FileObject; |
| 5 | |
import org.apache.commons.vfs.FileSystemException; |
| 6 | |
|
| 7 | |
import org.webslinger.commons.vfs.GenerationalFileObject; |
| 8 | |
|
| 9 | |
public class VirtualFileObject extends GenerationalFileObject<FileName, VirtualFileObject, VirtualFileSystem.VirtualResolution, VirtualFileSystem> { |
| 10 | |
public VirtualFileObject(FileName name, VirtualFileSystem vfs) { |
| 11 | 26556 | super(name, vfs); |
| 12 | 26556 | } |
| 13 | |
|
| 14 | |
protected VirtualFileSystem.VirtualResolution getResolution() throws FileSystemException { |
| 15 | 99391 | return getResolution(false); |
| 16 | |
} |
| 17 | |
|
| 18 | |
public FileObject getFile() throws FileSystemException { |
| 19 | 167 | return getFile(false); |
| 20 | |
} |
| 21 | |
} |