Class LCaptionFiles
java.lang.Object
com.io7m.laurel.filemodel.internal.LCaptionFiles
Functions to parse and serialize caption files.
-
Method Summary
-
Method Details
-
parse
Parse a caption file.- Parameters:
attributes- The error attributesfile- The file- Returns:
- The parsed caption names
- Throws:
Exception- On errors
-
serialize
public static void serialize(Map<String, Object> attributes, List<LGlobalCaption> globalCaptions, List<LCaption> captions, Path outputFile) throws ExceptionSerialize captions.- Parameters:
attributes- The error attributesglobalCaptions- The global captionscaptions- The captionsoutputFile- The output file- Throws:
Exception- On errors
-