Class BaseUtils

java.lang.Object
org.xbill.DNS.utils.BaseUtils

class BaseUtils extends Object
  • Constructor Details

    • BaseUtils

      BaseUtils()
  • Method Details

    • wrapLines

      String wrapLines(String s, int lineLength, String prefix, boolean addClose)
      Wrap a long string at lineLength characters.
      Parameters:
      s - The string to wrap.
      lineLength - The number of characters per line.
      prefix - A string prefixing the characters on each line.
      addClose - Whether to add a close parenthesis or not.
      Returns:
      The wrapped string.