code: public static <T extends Parameters> T parse(File file, String encoding, T parameters)
              throws AponParseException {
          if (file == null) {
              throw new IllegalArgumentException("file must not be null");
          }
          if (parameters == null) {
              throw new IllegalArgumentException("parameters must not be null");
          }
          AponReader aponReader = null;
          try {
              if (encoding == null) {
                  aponReader = new AponReader(new FileReader(file));
              } else {
                  aponReader = new AponReader(new InputStreamReader(new FileInputStream(file), encoding));
              }
              return aponReader.read(parameters);
          } catch (Exception e) {
              throw new AponParseException("Failed to parse string with APON format", e);
          } finally {
              if (aponReader != null) {
                  try {
                      aponReader.close();
                  } catch (IOException e) {
                      // ignore
                  }
              }
          }
      }
docs: Converts into a given Parameters object from a file.
  
  @param <T> the generic type
  @param file the file to parse
  @param encoding the character encoding
  @param parameters the Parameters object
  @return the Parameters object
  @throws AponParseException if reading APON format document fails