Class NuGetUtilsKt

  • All Implemented Interfaces:

    
    public final class NuGetUtilsKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Identifier getIdentifierWithNamespace(String type, String name, String version) Deduce an Identifier that has a namespace from the conventional NuGet package name, using the given type and version as-is.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getIdentifierWithNamespace

         final static Identifier getIdentifierWithNamespace(String type, String name, String version)

        Deduce an Identifier that has a namespace from the conventional NuGet package name, using the given type and version as-is. This function can be useful for third-party tools that use ORT as a library to be able to reproduce a NuGet package Identifier, e.g. to use it as part of curations.