Package org.alfresco.util
Class ConfigFileFinder
java.lang.Object
org.alfresco.util.ConfigFileFinder
Used to find configuration files as resources from the jar file or from some external location. The path supplied
to
readFiles(String, Log)
may be a directory name. Normally used by ConfigScheduler.- Author:
- adavis
-
Constructor Summary
ConstructorsConstructorDescriptionConfigFileFinder
(com.fasterxml.jackson.databind.ObjectMapper jsonObjectMapper) -
Method Summary
-
Constructor Details
-
ConfigFileFinder
public ConfigFileFinder(com.fasterxml.jackson.databind.ObjectMapper jsonObjectMapper)
-
-
Method Details
-
getFileCount
public int getFileCount() -
setFileCount
public void setFileCount(int fileCount) -
readFiles
-
readFile
-
readJson
protected abstract void readJson(com.fasterxml.jackson.databind.JsonNode jsonNode, String readFromMessage, String baseUrl) throws IOException - Throws:
IOException
-