Package com.sun.xml.rpc.processor.util
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 Summary
Fields Modifier and Type Field Description protected URLClassLoaderclassLoader-
Fields inherited from interface com.sun.xml.rpc.processor.util.ProcessorEnvironment
F_VERBOSE, F_WARNINGS
-
-
Constructor Summary
Constructors Constructor Description ProcessorEnvironmentBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static URLfileToURL(File file)Returns the directory or JAR file URL corresponding to the specified local file name.URLClassLoadergetClassLoader()Get a URLClassLoader from using the classpathstatic URL[]pathToURLs(String path)Utility method for converting a search path string to an array of directory and JAR file URLs.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.rpc.processor.util.ProcessorEnvironment
addGeneratedFile, deleteGeneratedFiles, error, getClassPath, getErrorCount, getFlags, getNames, getWarningCount, info, printStackTrace, setFlags, shutdown, verbose, warn
-
Methods inherited from interface com.sun.xml.rpc.spi.tools.ProcessorEnvironment
getGeneratedFiles
-
-
-
-
Field Detail
-
classLoader
protected URLClassLoader classLoader
-
-
Method Detail
-
getClassLoader
public URLClassLoader getClassLoader()
Get a URLClassLoader from using the classpath- Specified by:
getClassLoaderin interfaceProcessorEnvironment
-
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
-
-