Package nl.vpro.util

Class IntegerVersion

  • All Implemented Interfaces:
    Comparable<Version<Integer>>

    public class IntegerVersion
    extends Version<Integer>
    A Version based on integers, basically representing a string with a number of integers separated by a dot.
    Since:
    2.3
    Author:
    Michiel Meeuwissen
    • Constructor Detail

      • IntegerVersion

        public IntegerVersion​(String s)
      • IntegerVersion

        public IntegerVersion​(Integer... parts)
    • Method Detail

      • toFloat

        public float toFloat()
      • _parseIntegers

        protected static Integer[] _parseIntegers​(String string)
      • escapeSpecialRegexChars

        protected static String escapeSpecialRegexChars​(String str)
        Seems like a useful method in general, but fow now only used to escape '.'....