Package org.reflections.vfs
Class UrlTypeVFS
java.lang.Object
org.reflections.vfs.UrlTypeVFS
- All Implemented Interfaces:
Vfs.UrlType
UrlType to be used by Reflections library.
This class handles the vfszip and vfsfile protocol of JBOSS files.
to use it, register it in Vfs via Vfs.addDefaultURLTypes(org.reflections.vfs.Vfs.UrlType)
or Vfs.setDefaultURLTypes(java.util.List)
.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
findFirstMatchOfDeployableExtention
(String path, int pos) boolean
(package private) URL
replaceZipSeparators
(String path, Predicate<File> acceptFile) (package private) URL
replaceZipSeparatorStartingFrom
(String path, int pos)
-
Field Details
-
REPLACE_EXTENSION
-
VFSZIP
- See Also:
-
VFSFILE
- See Also:
-
-
Constructor Details
-
UrlTypeVFS
public UrlTypeVFS()
-
-
Method Details
-
matches
- Specified by:
matches
in interfaceVfs.UrlType
-
createDir
- Specified by:
createDir
in interfaceVfs.UrlType
-
adaptURL
- Throws:
MalformedURLException
-
replaceZipSeparators
- Throws:
MalformedURLException
-
findFirstMatchOfDeployableExtention
-
replaceZipSeparatorStartingFrom
- Throws:
MalformedURLException
-