Class ProcessorEnvironmentBase

    • Constructor Detail

      • ProcessorEnvironmentBase

        public ProcessorEnvironmentBase()
    • Method Detail

      • pathToURLs

        public static URL[] pathToURLs​(String path)
        Utility method for converting a search path string to an array of directory and JAR file URLs.
        Parameters:
        path - the search path string
        Returns:
        the resulting array of directory and JAR file URLs
      • fileToURL

        public static URL fileToURL​(File file)
        Returns the directory or JAR file URL corresponding to the specified local file name.
        Parameters:
        file - the File object
        Returns:
        the resulting directory or JAR file URL, or null if unknown