|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.core.ExternalFileReader
public class ExternalFileReader
I am a responsible for reading and processing external rules files.
| Constructor Summary | |
|---|---|
init(any fileSystem, any transientFactory, string extraFileReaderComponentPaths, string externalFileTypes)
I build a new externalFileReader |
|
| Method Summary | |
|---|---|
any |
loadRulesFromExternalFile(any objectType, any definitionPath)
I read the validation metadata from external files and reformat it into a struct |
private string |
locateRulesFile(any objectType, any definitionPath, any fileType)
I attempt to find an external rules definition file for an object and file type |
private void |
verifyAtLeastOnePathIsValid(any definitionPath)
I check to ensure that at least one path can be found |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any fileSystem, any transientFactory, string extraFileReaderComponentPaths, string externalFileTypes)
fileSystemtransientFactoryextraFileReaderComponentPathsexternalFileTypes| Method Detail |
|---|
public any loadRulesFromExternalFile(any objectType, any definitionPath)
objectTypedefinitionPathprivate string locateRulesFile(any objectType, any definitionPath, any fileType)
objectTypedefinitionPathfileTypeprivate void verifyAtLeastOnePathIsValid(any definitionPath)
definitionPath
|
ValidateThis API Documentation | ||||
| FRAMES | |||||