public class UrlTypeVFS extends Object implements Vfs.UrlType
to use it, register it in Vfs via Vfs.addDefaultURLTypes(org.reflections.vfs.Vfs.UrlType)
or Vfs.setDefaultURLTypes(java.util.List)
.
Modifier and Type | Field and Description |
---|---|
static String[] |
REPLACE_EXTENSION |
Constructor and Description |
---|
UrlTypeVFS() |
Modifier and Type | Method and Description |
---|---|
URL |
adaptURL(URL url) |
Vfs.Dir |
createDir(URL url) |
boolean |
matches(URL url) |
public static final String[] REPLACE_EXTENSION
public boolean matches(URL url)
matches
in interface Vfs.UrlType
public Vfs.Dir createDir(URL url)
createDir
in interface Vfs.UrlType
public URL adaptURL(URL url) throws MalformedURLException
MalformedURLException
Copyright © 2015. All rights reserved.