Package org.apache.tomcat.util.scan
Class MultiReleaseUtil.MultiReleaseInfo
- java.lang.Object
-
- org.apache.tomcat.util.scan.MultiReleaseUtil.MultiReleaseInfo
-
- Enclosing class:
- MultiReleaseUtil
public static class MultiReleaseUtil.MultiReleaseInfo extends java.lang.ObjectProvides the return value for calls toMultiVersionUtil#parseVersion(String).
-
-
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 booleanisValid()Has a valid multi-release entry been found?
-
-
-
Constructor Detail
-
MultiReleaseInfo
public MultiReleaseInfo(int version, int namePos)Create a new result.- Parameters:
version- The version or-1if the version was invalidnamePos- The start position of the name. The first character after the '/' after the version.-1if there was no '/' after the version or the version was not present
-
-