Class MultiReleaseUtil.MultiReleaseInfo

  • Enclosing class:
    MultiReleaseUtil

    public static class MultiReleaseUtil.MultiReleaseInfo
    extends java.lang.Object
    Provides the return value for calls to MultiVersionUtil#parseVersion(String).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int namePos  
      int version  
    • Constructor Summary

      Constructors 
      Constructor Description
      MultiReleaseInfo​(int version, int namePos)
      Create a new result.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isValid()
      Has a valid multi-release entry been found?
      • Methods inherited from class java.lang.Object

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

      • version

        public final int version
      • namePos

        public final int namePos
    • Constructor Detail

      • MultiReleaseInfo

        public MultiReleaseInfo​(int version,
                                int namePos)
        Create a new result.
        Parameters:
        version - The version or -1 if the version was invalid
        namePos - The start position of the name. The first character after the '/' after the version. -1 if there was no '/' after the version or the version was not present
    • Method Detail

      • isValid

        public boolean isValid()
        Has a valid multi-release entry been found?
        Returns:
        true if a valid multi-release entry was found, otherwise false