Class DBSheetSplitCol


  • public class DBSheetSplitCol
    extends Object
    Author:
    ssah
    • Constructor Detail

      • DBSheetSplitCol

        public DBSheetSplitCol​(boolean delimiterType,
                               String pattern)
        Parameters:
        delimiterType - delimiterType
        pattern - pattern
      • DBSheetSplitCol

        public DBSheetSplitCol​(String delimiterType,
                               String pattern)
        Parameters:
        delimiterType - delimiterType
        pattern - pattern
      • DBSheetSplitCol

        public DBSheetSplitCol​(boolean delimiterType,
                               String pattern,
                               int parts)
        Parameters:
        delimiterType - delimiterType
        pattern - pattern
        parts - parts
      • DBSheetSplitCol

        public DBSheetSplitCol​(String name,
                               String delimiterType,
                               String pattern)
        Parameters:
        name - name
        delimiterType - delimiterType
        pattern - pattern
      • DBSheetSplitCol

        public DBSheetSplitCol​(String name,
                               boolean delimiterType,
                               String pattern,
                               int parts)
        Parameters:
        name - name
        delimiterType - delimiterType
        pattern - pattern
        parts - parts
    • Method Detail

      • getWhitespaceSplitData

        public static DBSheetSplitCol getWhitespaceSplitData()
        Returns:
        something
      • getName

        public String getName()
        Returns:
        the name
      • setName

        public void setName​(String name)
        Parameters:
        name - the name to set
      • isDelimiterType

        public boolean isDelimiterType()
        Returns:
        the delimiterType
      • getPattern

        public String getPattern()
        Returns:
        the pattern
      • getParts

        public int getParts()
        Returns:
        the parts
      • setParts

        public void setParts​(int parts)
        Parameters:
        parts - the parts to set
      • getDelimiterTypeString

        public String getDelimiterTypeString()
        Returns:
        something
      • setSplitGroups

        public void setSplitGroups​(SplitPropertyGroup[] splitGroups)
        Parameters:
        splitGroups - the splitGroups to set
      • extractValueAtEnd

        public static int extractValueAtEnd​(String string)
        Returns the number at the end of the given string. If there is no such number, it returns -1.
        Parameters:
        string - string
        Returns:
        something
      • removeValueAtEnd

        public static String removeValueAtEnd​(String string)
        Returns the string without the trailing number, or the string itself if there is no number at the end.
        Parameters:
        string - string
        Returns:
        something