Class BridgeDescriptorParser


  • public class BridgeDescriptorParser
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BridgeDescriptorParser​(SanitizedBridgesWriter sbw)
      Initializes a new bridge descriptor parser and links it to a sanitized bridges writer to sanitize and store bridge descriptors.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void parse​(byte[] allData, java.lang.String dateTime, java.lang.String authorityFingerprint)
      Parses the first line of the given descriptor data to determine the descriptor type and passes it to the sanitized bridges writer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BridgeDescriptorParser

        public BridgeDescriptorParser​(SanitizedBridgesWriter sbw)
        Initializes a new bridge descriptor parser and links it to a sanitized bridges writer to sanitize and store bridge descriptors.
    • Method Detail

      • parse

        public void parse​(byte[] allData,
                          java.lang.String dateTime,
                          java.lang.String authorityFingerprint)
        Parses the first line of the given descriptor data to determine the descriptor type and passes it to the sanitized bridges writer.