Class LedgerIdFormatter

    • Field Detail

      • LONG_LEDGERID_FORMATTER

        public static final LedgerIdFormatter LONG_LEDGERID_FORMATTER
    • Constructor Detail

      • LedgerIdFormatter

        public LedgerIdFormatter()
    • Method Detail

      • formatLedgerId

        public abstract java.lang.String formatLedgerId​(long ledgerId)
        Formats the LedgerId according to the type of the Formatter and return it in String format.
        Parameters:
        ledgerId -
        Returns:
      • readLedgerId

        public abstract long readLedgerId​(java.lang.String ledgerIdString)
        converts the ledgeridString, which is in format of the type of formatter, to the long value.
        Parameters:
        ledgerIdString -
        Returns: