Class ConfigFileFinder

java.lang.Object
org.alfresco.util.ConfigFileFinder

public abstract class ConfigFileFinder extends Object
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 Details

    • ConfigFileFinder

      public ConfigFileFinder(com.fasterxml.jackson.databind.ObjectMapper jsonObjectMapper)
  • Method Details

    • getFileCount

      public int getFileCount()
    • setFileCount

      public void setFileCount(int fileCount)
    • readFiles

      public boolean readFiles(String path, org.apache.commons.logging.Log log)
    • readFile

      public boolean readFile(Reader reader, String readFrom, String path, String baseUrl, org.apache.commons.logging.Log log)
    • readJson

      protected abstract void readJson(com.fasterxml.jackson.databind.JsonNode jsonNode, String readFromMessage, String baseUrl) throws IOException
      Throws:
      IOException