Package com.helger.diver.api.settings
Class DVRValidityHelper
java.lang.Object
com.helger.diver.api.settings.DVRValidityHelper
Helper class to check DVR Coordinate consistency. It is provided in its own
package, to avoid cyclic package dependencies between "coord" and "version".
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanCheck if the provided part is a syntactically valid coordinate Artifact ID.static booleanCheck if the provided part is a syntactically valid coordinate Classifier.static booleanisValidCoordinateGroupID(String sPart) Check if the provided part is a syntactically valid coordinate Group ID.static booleanisValidCoordinateVersion(String sPart) Check if the provided part is a syntactically valid coordinate Version.
-
Method Details
-
isValidCoordinateGroupID
Check if the provided part is a syntactically valid coordinate Group ID.- Parameters:
sPart- The part to be checked. May benull.- Returns:
trueif it is valid,falseif not.
-
isValidCoordinateArtifactID
Check if the provided part is a syntactically valid coordinate Artifact ID.- Parameters:
sPart- The part to be checked. May benull.- Returns:
trueif it is valid,falseif not.
-
isValidCoordinateVersion
Check if the provided part is a syntactically valid coordinate Version.- Parameters:
sPart- The part to be checked. May benull.- Returns:
trueif it is valid,falseif not.
-
isValidCoordinateClassifier
Check if the provided part is a syntactically valid coordinate Classifier.- Parameters:
sPart- The part to be checked. May benull.- Returns:
trueif it is valid,falseif not.
-