Package us.irdev.bedrock.bag.formats
package us.irdev.bedrock.bag.formats
Provides FormatReader and FormatWriter classes in support of the bedrock package. JSON and
some basic formats might be facilitated by a registered file mime-type association, but
you can add your own association to a reader (and its configuration) by using something
like this:
FormatReader.registerFormatReader ("MyCustomTypeName", false, (input) -> new FormatReaderFixed (input, new int[]{3, 3, 3, 4}));
BagArray bagArray = BagArrayFrom.string (stringInput, "MyCustomTypeName");
- Author:
- Bretton Wade
-
ClassDescriptionThe FormatWriterText is a configurable text format writer for any format that uses a divider between entries, and a divider between pairs.