Package biz.aQute.resolve
Class Utils
java.lang.Object
biz.aQute.resolve.Utils
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.osgi.framework.VersionfindIdentityVersion(org.osgi.resource.Resource resource) static List<Utils.ResolveTrace>parseException(String message) static <T> StringprintHumanReadableDifference(Set<T> set1, Set<T> set2, String setName1, String setName2) Compares two non-null sets and print their differnce in a human readable sentence.
-
Field Details
-
RESOLVE_MESSAGE_P
-
RESOLVE_DIRECTIVES_P
-
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
findIdentityVersion
public static org.osgi.framework.Version findIdentityVersion(org.osgi.resource.Resource resource) -
parseException
-
printHumanReadableDifference
public static <T> String printHumanReadableDifference(Set<T> set1, Set<T> set2, String setName1, String setName2) Compares two non-null sets and print their differnce in a human readable sentence.- Parameters:
set1-set2-setName1-setName2-- Returns:
- a sentence if set1 is different than set2. Otherwise
null.
-