Class FileDeps


  • public final class FileDeps
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkAndroidPackages​(java.lang.String androidSdk)
      Checks that the required Android packages are present, else proceeds to install them
      java.nio.file.Path getAndroidNDKPath()
      Return the path to the Android NDK for this configuration.
      java.nio.file.Path getAndroidSDKPath()
      Return the path to the Android SDK for this configuration.
      java.nio.file.Path getJavaFXSDKLibsPath()
      Return the path to the JavaFX SDK for this configuration.
      java.nio.file.Path getJavaSDKLibsPath()
      Returns the path to the Java SDK static libraries for this configuration.
      java.nio.file.Path getSysrootPath()
      Return the path to the sysroot for this configuration.
      • Methods inherited from class java.lang.Object

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

      • getJavaSDKLibsPath

        public java.nio.file.Path getJavaSDKLibsPath()
                                              throws java.io.IOException
        Returns the path to the Java SDK static libraries for this configuration. The path is cached on the provided configuration. If no custom directory has been set in the project configuration, a custom Java SDK will be downloaded.
        Returns:
        the location of the static libraries of the Java SDK for the arch-os for this configuration
        Throws:
        java.io.IOException - in case anything goes wrong.
      • getJavaFXSDKLibsPath

        public java.nio.file.Path getJavaFXSDKLibsPath()
                                                throws java.io.IOException
        Return the path to the JavaFX SDK for this configuration. The path is cached on the provided configuration. If it is not there yet, all dependencies are retrieved.
        Returns:
        the location of the JavaFX SDK for the arch-os for this configuration
        Throws:
        java.io.IOException - in case anything goes wrong.
      • getAndroidSDKPath

        public java.nio.file.Path getAndroidSDKPath()
                                             throws java.io.IOException
        Return the path to the Android SDK for this configuration. The path is cached on the environment variable. If it is not there yet, all dependencies are retrieved.
        Returns:
        the location of the Android SDK for the arch-os for this configuration
        Throws:
        java.io.IOException - in case anything goes wrong.
      • getAndroidNDKPath

        public java.nio.file.Path getAndroidNDKPath()
                                             throws java.io.IOException
        Return the path to the Android NDK for this configuration. The path is cached on the environment variable. If it is not there yet, all dependencies are retrieved.
        Returns:
        the location of the Android NDK for the arch-os for this configuration
        Throws:
        java.io.IOException - in case anything goes wrong.
      • getSysrootPath

        public java.nio.file.Path getSysrootPath()
                                          throws java.io.IOException
        Return the path to the sysroot for this configuration. The path is cached on the environment variable. If it is not there yet, all dependencies are retrieved.
        Returns:
        the location of the sysroot for the arch of this configuration
        Throws:
        java.io.IOException - in case anything goes wrong.
      • checkAndroidPackages

        public void checkAndroidPackages​(java.lang.String androidSdk)
                                  throws java.io.IOException,
                                         java.lang.InterruptedException
        Checks that the required Android packages are present, else proceeds to install them
        Parameters:
        androidSdk - The path to the Android SDK
        Throws:
        java.io.IOException
        java.lang.InterruptedException