Interface MIBTreeFormatter

All Known Implementing Classes:
MarkdownMIBTreeFormatter

public interface MIBTreeFormatter
Formats a MIBTree into a human readable representation.
Since:
3.9.2
Version:
3.9.2
Author:
SNMP4J.org
  • Method Summary

    Modifier and Type
    Method
    Description
    Formats the given MIB tree and returns the result as a string.
    void
    Formats the given MIB tree and appends the result to the supplied Appendable.
  • Method Details

    • format

      String format(MIBTree tree)
      Formats the given MIB tree and returns the result as a string.
      Parameters:
      tree - the MIB tree to format.
      Returns:
      the formatted representation.
    • format

      void format(MIBTree tree, Appendable out) throws IOException
      Formats the given MIB tree and appends the result to the supplied Appendable.
      Parameters:
      tree - the MIB tree to format.
      out - the target to append the formatted representation to.
      Throws:
      IOException - if appending to out fails.