Class JsonI18nFileParser
java.lang.Object
dev.vanengine.core.i18n.JsonI18nFileParser
- All Implemented Interfaces:
I18nFileParser
Built-in JSON parser for i18n translation files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(InputStream inputStream) Parse an i18n file from the given input stream.File extensions this parser can handle (lowercase, without dot), e.g.
-
Constructor Details
-
JsonI18nFileParser
public JsonI18nFileParser()
-
-
Method Details
-
supportedExtensions
Description copied from interface:I18nFileParserFile extensions this parser can handle (lowercase, without dot), e.g. {"json"}.- Specified by:
supportedExtensionsin interfaceI18nFileParser
-
parse
Description copied from interface:I18nFileParserParse an i18n file from the given input stream.- Specified by:
parsein interfaceI18nFileParser- Throws:
IOException
-