Class PluginUtils


  • public class PluginUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PluginUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void downloadFile​(java.lang.String fileUrl, java.nio.file.Path destPath)  
      static @Nullable java.lang.String extractVersion​(java.lang.String str)  
      static java.lang.String removePrefix​(java.lang.String str, java.lang.String prefix)  
      • Methods inherited from class java.lang.Object

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

      • PluginUtils

        public PluginUtils()
    • Method Detail

      • removePrefix

        public static java.lang.String removePrefix​(java.lang.String str,
                                                    java.lang.String prefix)
      • downloadFile

        public static void downloadFile​(java.lang.String fileUrl,
                                        java.nio.file.Path destPath)
      • extractVersion

        @Nullable
        public static @Nullable java.lang.String extractVersion​(java.lang.String str)