Interface IFormatConfiguration

All Known Implementing Classes:
FormatConfiguration

public interface IFormatConfiguration
Interface for formatting configuration
  • Method Details

    • getIndentType

      IndentType getIndentType()
      Returns:
      indent type
      See Also:
    • getIndentSize

      int getIndentSize()
      Returns:
      indent size
    • createIndent

      String createIndent(int length)
      Creates an indentation string based on current configuration.
      Parameters:
      length - desired length of indentation
      Returns:
      indentation string
    • isAddWhitespaceAfterOp

      boolean isAddWhitespaceAfterOp()
      Returns:
      true if space should be added after operators
    • isAddWhitespaceBeforeOp

      boolean isAddWhitespaceBeforeOp()
      Returns:
      true if space should be added before operators
    • isRemoveTrailingWhitespace

      boolean isRemoveTrailingWhitespace()
      Returns:
      true if trailing spaces should be removed