Package com.io7m.idstore.server.api
Class IdServerConfigurationFiles
java.lang.Object
com.io7m.idstore.server.api.IdServerConfigurationFiles
- All Implemented Interfaces:
IdServiceType
The configuration file parser.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SCHEMA_ID
The JSON schema identifier for the protocol.- See Also:
-
CONTENT_TYPE
The content type for the protocol.- See Also:
-
-
Constructor Details
-
IdServerConfigurationFiles
public IdServerConfigurationFiles()The Public API v1 message protocol.
-
-
Method Details
-
parse
Parse a configuration file.- Parameters:
stream- The input stream- Returns:
- The file
- Throws:
IOException- On errors
-
parse
Parse a configuration file.- Parameters:
file- The input file- Returns:
- The file
- Throws:
IOException- On errors
-
schemaId
- Returns:
- The JSON schema identifier for the protocol.
-
contentType
- Returns:
- The content type for the protocol.
-
description
- Specified by:
descriptionin interfaceIdServiceType- Returns:
- The service description
-
toString
-