Class Utils

java.lang.Object
biz.aQute.resolve.Utils

public class Utils extends Object
  • Field Details

    • RESOLVE_MESSAGE_P

      public static final Pattern RESOLVE_MESSAGE_P
    • RESOLVE_DIRECTIVES_P

      public static final Pattern RESOLVE_DIRECTIVES_P
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • findIdentityVersion

      public static org.osgi.framework.Version findIdentityVersion(org.osgi.resource.Resource resource)
    • parseException

      public static List<Utils.ResolveTrace> parseException(String message)
    • 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.