Class AreaNameValidationHelper


  • public class AreaNameValidationHelper
    extends Object
    Helper class for areas' name validation
    • Field Detail

      • RECT_AREA_PATTERN

        public static final Pattern RECT_AREA_PATTERN
      • ROW_AREA_PATTERN

        public static final Pattern ROW_AREA_PATTERN
      • COLUMN_AREA_PATTERN

        public static final Pattern COLUMN_AREA_PATTERN
      • TABLE_AREA_PATTERN

        public static final Pattern TABLE_AREA_PATTERN
    • Constructor Detail

      • AreaNameValidationHelper

        public AreaNameValidationHelper()
    • Method Detail

      • isCorrectRowsAreaName

        public static boolean isCorrectRowsAreaName​(String name)
        Check if name is correct name of rows area
        Parameters:
        name - name to be checked
        Returns:
        check result
      • isCorrectColumnsAreaName

        public static boolean isCorrectColumnsAreaName​(String name)
        Check if name is correct name of columns area
        Parameters:
        name - name to be checked
        Returns:
        check result
      • isCorrectRectangleAreaName

        public static boolean isCorrectRectangleAreaName​(String name)
        Check if name is correct name of rectangle area
        Parameters:
        name - name to be checked
        Returns:
        check result
      • isCorrectAreaName

        public static boolean isCorrectAreaName​(String name)
        Check if name is correct area name
        Parameters:
        name - name to be checked
        Returns:
        check result