Class FormatReader

java.lang.Object
us.irdev.bedrock.bag.formats.FormatReader
Direct Known Subclasses:
FormatReaderComposite, FormatReaderParsed, FormatReaderTable, FormatReaderTableAdapter, FormatReaderXml

public class FormatReader extends Object
  • Field Details

    • input

      protected final char[] input
  • Constructor Details

    • FormatReader

      protected FormatReader()
    • FormatReader

      public FormatReader(String input)
      Parameters:
      input -
  • Method Details

    • registerFormatReader

      public static void registerFormatReader(String mimeType, boolean replace, Function<String,FormatReader> factory)
      Parameters:
      mimeType -
      replace -
      factory -
    • readBagArray

      public static BagArray readBagArray(SourceAdapter sourceAdapter)
      Parameters:
      sourceAdapter -
      Returns:
    • readBagObject

      public static BagObject readBagObject(SourceAdapter sourceAdapter)
      Parameters:
      sourceAdapter -
      Returns:
    • register

      public static void register()
      static method to forcibly invoke the static initializer