Class LedgerIdFormatter.HexLedgerIdFormatter

    • Constructor Detail

      • HexLedgerIdFormatter

        public HexLedgerIdFormatter()
    • Method Detail

      • formatLedgerId

        public java.lang.String formatLedgerId​(long ledgerId)
        Description copied from class: LedgerIdFormatter
        Formats the LedgerId according to the type of the Formatter and return it in String format.
        Specified by:
        formatLedgerId in class LedgerIdFormatter
        Returns:
      • readLedgerId

        public long readLedgerId​(java.lang.String ledgerIdString)
        Description copied from class: LedgerIdFormatter
        converts the ledgeridString, which is in format of the type of formatter, to the long value.
        Specified by:
        readLedgerId in class LedgerIdFormatter
        Returns: