Interface Formatter


  • public interface Formatter
    Interface implemented by objects that can format source code.
    Since:
    3.4
    Author:
    Chris Jennings
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.lang.String code)
      Format and return the given source code string.
    • Method Detail

      • format

        java.lang.String format​(java.lang.String code)
        Format and return the given source code string.
        Parameters:
        code - the source code to format
        Returns:
        the formatted code