public class CommonsVfs2UrlType extends java.lang.Object implements Vfs.UrlType
Vfs.UrlType
using the commons vfs 2 library, for creating Vfs.Dir
.
It can be plugged into using Vfs.addDefaultURLTypes(Vfs.UrlType)
, and requires the library provided in classpath
Modifier and Type | Class and Description |
---|---|
static class |
CommonsVfs2UrlType.Dir |
static class |
CommonsVfs2UrlType.File |
Constructor and Description |
---|
CommonsVfs2UrlType() |
Modifier and Type | Method and Description |
---|---|
Vfs.Dir |
createDir(java.net.URL url) |
boolean |
matches(java.net.URL url) |
public boolean matches(java.net.URL url) throws java.lang.Exception
matches
in interface Vfs.UrlType
java.lang.Exception
public Vfs.Dir createDir(java.net.URL url) throws java.lang.Exception
createDir
in interface Vfs.UrlType
java.lang.Exception