Package com.io7m.idstore.server.service.configuration

# Class IdServerConfigurationFiles

java.lang.Object
com.io7m.idstore.server.service.configuration.IdServerConfigurationFiles

All Implemented Interfaces:
  `com.io7m.repetoir.core.RPServiceType`

public final class IdServerConfigurationFiles extends Object implements com.io7m.repetoir.core.RPServiceType
The configuration file parser.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IdServerConfigurationFiles()`
  The Public API v1 message protocol.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `description()`
  `IdServerConfigurationFile`
  `parse(URI source, InputStream stream)`
  Parse a configuration file.
  `IdServerConfigurationFile`
  `parse(Path file)`
  Parse a configuration file.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### IdServerConfigurationFiles

    public IdServerConfigurationFiles()
    The Public API v1 message protocol.

- ## Method Details

  - ### parse

    public IdServerConfigurationFile parse(URI source, InputStream stream) throws IOException
    Parse a configuration file.
    Parameters:
      `source` - The source URI
      `stream` - The input stream
    Returns:
      The file
    Throws:
      `IOException` - On errors

  - ### parse

    public IdServerConfigurationFile parse(Path file) throws IOException
    Parse a configuration file.
    Parameters:
      `file` - The input file
    Returns:
      The file
    Throws:
      `IOException` - On errors

  - ### description

    public String description()
    Specified by:
      `description` in interface `com.io7m.repetoir.core.RPServiceType`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`