public class JBossFileManager extends DefaultFileManager
files, reloadingConfigs
Constructor and Description |
---|
JBossFileManager() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends URL> |
getAllPhysicalUrls(URL url) |
protected URL |
getJBossPhysicalUrl(URL url)
Try to determine physical file location.
|
protected boolean |
isJBossUrl(URL fileUrl)
Check if given URL is pointing to JBoss 5 VFS resource
|
void |
monitorFile(URL fileUrl)
Adds file to list of monitored files
|
URL |
normalizeToFileProtocol(URL url)
Convert URLs to URLs with "file" protocol
|
boolean |
support()
Indicate if given implementation supports current OS File System
|
fileNeedsReloading, fileNeedsReloading, internal, isJarURL, loadFile, setReloadingConfigs
public boolean support()
FileManager
support
in interface FileManager
support
in class DefaultFileManager
public void monitorFile(URL fileUrl)
FileManager
monitorFile
in interface FileManager
monitorFile
in class DefaultFileManager
fileUrl
- URL
to file to be monitoredpublic URL normalizeToFileProtocol(URL url)
FileManager
normalizeToFileProtocol
in interface FileManager
normalizeToFileProtocol
in class DefaultFileManager
url
- URL to convert to a jar urlpublic Collection<? extends URL> getAllPhysicalUrls(URL url) throws IOException
getAllPhysicalUrls
in interface FileManager
getAllPhysicalUrls
in class DefaultFileManager
IOException
protected boolean isJBossUrl(URL fileUrl)
fileUrl
- file URL to checkprotected URL getJBossPhysicalUrl(URL url) throws IOException
url
- JBoss VFS URLIOException
- If conversion failsCopyright © 2000–2020 Apache Software Foundation. All rights reserved.