Class ExcelUtils


  • public class ExcelUtils
    extends java.lang.Object
    Excel utility class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.regex.Pattern PATTERN_CELL_TOKENS  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String[] extractExcelCellTokens​(java.lang.String cellValue)
      Splits cell value into tokens
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PATTERN_CELL_TOKENS

        public static final java.util.regex.Pattern PATTERN_CELL_TOKENS
    • Method Detail

      • extractExcelCellTokens

        public static java.lang.String[] extractExcelCellTokens​(java.lang.String cellValue)
        Splits cell value into tokens
                 input: "a:b:c" output: {"a","b","c"}
                 input: "a:b:[c:d]:f" output: {"a","b","c:d","f}
         
        Parameters:
        cellValue - cell value to split.
        Returns:
        array of tokens.