Class FormatReader
java.lang.Object
us.irdev.bedrock.bag.formats.FormatReader
- Direct Known Subclasses:
FormatReaderComposite
,FormatReaderParsed
,FormatReaderTable
,FormatReaderTableAdapter
,FormatReaderXml
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BagArray
readBagArray
(SourceAdapter sourceAdapter) static BagObject
readBagObject
(SourceAdapter sourceAdapter) static void
register()
static method to forcibly invoke the static initializerstatic void
registerFormatReader
(String mimeType, boolean replace, Function<String, FormatReader> factory)
-
Field Details
-
input
protected final char[] input
-
-
Constructor Details
-
FormatReader
protected FormatReader() -
FormatReader
- Parameters:
input
-
-
-
Method Details
-
registerFormatReader
public static void registerFormatReader(String mimeType, boolean replace, Function<String, FormatReader> factory) - Parameters:
mimeType
-replace
-factory
-
-
readBagArray
- Parameters:
sourceAdapter
-- Returns:
-
readBagObject
- Parameters:
sourceAdapter
-- Returns:
-
register
public static void register()static method to forcibly invoke the static initializer
-