public class ExternalContentPathValidator extends AutoReloadingConfiguration
configPath| Constructor and Description |
|---|
ExternalContentPathValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadConfiguration()
Loads the allowed list.
|
void |
validate(String extPath)
Validates that an external path is valid.
|
init, setConfigPath, setMonitorForChanges, shutdownpublic ExternalContentPathValidator()
public void validate(String extPath) throws ExternalMessageBodyException
extPath - external binary path to validateExternalMessageBodyException - thrown if the path is invalid.protected void loadConfiguration() throws IOException
loadConfiguration in class AutoReloadingConfigurationIOException - thrown if the allowed list configuration file cannot be read.Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.