Class ProcessorEnvironmentBase

java.lang.Object
com.sun.xml.rpc.processor.util.ProcessorEnvironmentBase
All Implemented Interfaces:
ProcessorEnvironment, ProcessorEnvironment
Direct Known Subclasses:
ClientProcessorEnvironment

public abstract class ProcessorEnvironmentBase extends Object implements ProcessorEnvironment
Author:
JAX-RPC Development Team
  • Field Details

  • Constructor Details

    • ProcessorEnvironmentBase

      public ProcessorEnvironmentBase()
  • Method Details

    • getClassLoader

      public URLClassLoader getClassLoader()
      Get a URLClassLoader from using the classpath
      Specified by:
      getClassLoader in interface ProcessorEnvironment
    • 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