Uses of Class
com.github.tadukoo.parsing.fileformat.FileFormatSchema
Packages that use FileFormatSchema
Package
Description
Provides classes for making your own custom File Format, similar to YAML syntax
-
Uses of FileFormatSchema in com.github.tadukoo.parsing.fileformat
Fields in com.github.tadukoo.parsing.fileformat with type parameters of type FileFormatSchemaModifier and TypeFieldDescriptionprivate final Map<String,FileFormatSchema> FileFormat.schemasA mapping of version strings toFileFormatSchemasMethods in com.github.tadukoo.parsing.fileformat that return FileFormatSchemaModifier and TypeMethodDescriptionfinal FileFormatSchemaGrabs theFileFormatSchemafor the given version string.Methods in com.github.tadukoo.parsing.fileformat that return types with arguments of type FileFormatSchemaModifier and TypeMethodDescriptionprotected abstract Map<String,FileFormatSchema> FileFormat.createSchemas(com.github.tadukoo.util.logger.EasyLogger logger) Creates theFileFormatSchemas for this FileFormat, mapping them by their respective version strings.Methods in com.github.tadukoo.parsing.fileformat with parameters of type FileFormatSchemaModifier and TypeMethodDescriptionstatic NodeTadFormatNodeHeader.createHeader(FileFormat format, FileFormatSchema schema) Creates a Tad Format Header for the givenFileFormatandFileFormatSchema.private static Map<String,FormatNode> FileFormatSchemaVerification.getFormatNodesMap(FileFormatSchema schema) Creates a Map out of theFormatNodes present in the givenFileFormatSchema.private static FormatNodeTadFormatNodeHeader.getVersionNumNode(com.github.tadukoo.util.logger.EasyLogger logger, FileFormatSchema schema) Creates aFormatNodefor the File Format Schema Version Number Node.private static FormatNodeTadFormatNodeHeader.getVersionStringNode(com.github.tadukoo.util.logger.EasyLogger logger, FileFormatSchema schema) Creates aFormatNodefor the File Format Schema Version Node.protected final voidFileFormat.saveFile(com.github.tadukoo.util.logger.EasyLogger logger, String filepath, Node headNode, FileFormatSchema schema) Saves the given headNode to the file specified by the given filepath, adding the Tad Format Header at the start of the file using the given schema and current FileFormat.static booleanFileFormatSchemaVerification.verifyFileFormat(com.github.tadukoo.util.logger.EasyLogger logger, FileFormat format, FileFormatSchema schema, String filepath) Checks if the file located at the given file path matches the givenFileFormatSchemaor not.static booleanFileFormatSchemaVerification.verifyFileFormat(com.github.tadukoo.util.logger.EasyLogger logger, FileFormat format, FileFormatSchema schema, String filepath, Node headNode) Checks if the given Nodes (given via the head Node) located (or to be located) at the given file path matches the givenFileFormatSchemaor not.static booleanTadFormatNodeHeader.verifyTadFormatNode(com.github.tadukoo.util.logger.EasyLogger logger, Node tadFormatNode, FileFormat format, FileFormatSchema schema) Verifies that the Tad Format Node is correct at the top of a file.