/** * @param files the property file to be loaded. The file may not exist. * But if the file exists it has to be a file (not a directory), otherwhise an IOException is thrown. Files will be loaded in the given order. * @param prefix the property prefix * @throws IOException */ public HierarchicalProperties(File[] files, String prefix) throws IOException { this.files = files; this.prefix = prefix; this.dotted_prefix = "." + prefix + "."; loadFiles(); }