Class CellRangeAddressList

    • Constructor Detail

      • CellRangeAddressList

        public CellRangeAddressList​(List<CellRangeAddress> cellRangeAddressList)
                             throws IllegalArgumentException
        Construct CellRangeAddressList by the parsing the given string
        Parameters:
        cellRangeAddressList - The String to be parsed into CellRangeAddressList
        Throws:
        IllegalArgumentException - if the given argument is not a valid CellRangeAddressList
    • Method Detail

      • toString

        public String toString()
        Returns a space separated String Object representing this CellRangeAddressList's value
        Overrides:
        toString in class Object
        Returns:
        return a string representation of the value of this CellRangeAddressList object
      • valueOf

        public static CellRangeAddressList valueOf​(String stringValue)
                                            throws IllegalArgumentException
        Returns a CellRangeAddressList instance representing the specified String value
        Parameters:
        stringValue - a String value
        Returns:
        return a CellRangeAddressList instance representing stringValue
        Throws:
        IllegalArgumentException - if the given argument is not a valid CellRangeAddressList
      • getCellRangesAddressList

        public List<CellRangeAddress> getCellRangesAddressList()
        Returns a list of CellRangeAddress from the CellRangeAddressList Object
        Returns:
        a list of CellRangeAddress
      • isValid

        public static boolean isValid​(String stringValue)
        check if the specified String is a valid cellRangeAddressList data type
        Parameters:
        stringValue - the value to be tested
        Returns:
        true if the value of argument is valid for cellRangeAddressList data type false otherwise