Class FileFactoryConfiguration

    • Constructor Detail

      • FileFactoryConfiguration

        protected FileFactoryConfiguration​(Class clazz,
                                           String id)
    • Method Detail

      • read

        public void read​(String path)

        Reads a configuration file from the specified file path and sets up the configuration from that. If the file does not exist, a ResourceNotFoundException will be thrown.

        Parameters:
        path - the path to the file to be read from
      • read

        public void read​(URL url)
      • read

        public void read​(String path,
                         boolean required)
      • read

        public void read​(URL url,
                         boolean required)
      • read

        public void read​(String path,
                         boolean required,
                         org.apache.velocity.runtime.log.Log log)
      • findURL

        protected URL findURL​(String path)
      • read

        protected void read​(URL url,
                            boolean required,
                            org.apache.velocity.runtime.log.Log log)
      • read

        protected void read​(Object source,
                            InputStream inputStream,
                            boolean required,
                            org.apache.velocity.runtime.log.Log log)