Class UnitExcelParserSplitter

  • All Implemented Interfaces:
    ExcelParserSplitter, java.util.function.Function<java.lang.String,​java.lang.String[]>

    public class UnitExcelParserSplitter
    extends java.lang.Object
    implements ExcelParserSplitter
    Allows to split given input with unit into 2 values - first value is attribute's value and the second is unit's value.
    E.g. for given input "10.04.2018 05:55:12:132", which is a Date value with unit "132", array with 2 values is returned. First value of the array equals "10.04.2018 05:55:12" and second "132".
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] apply​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • UnitExcelParserSplitter

        public UnitExcelParserSplitter()
    • Method Detail

      • apply

        public java.lang.String[] apply​(@Nonnull
                                        java.lang.String s)
        Specified by:
        apply in interface ExcelParserSplitter
        Specified by:
        apply in interface java.util.function.Function<java.lang.String,​java.lang.String[]>