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
- Author:
- JAX-RPC Development Team
-
Field Summary
FieldsFields inherited from interface com.sun.xml.rpc.processor.util.ProcessorEnvironment
F_VERBOSE, F_WARNINGS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URLReturns the directory or JAR file URL corresponding to the specified local file name.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, waitMethods inherited from interface com.sun.xml.rpc.processor.util.ProcessorEnvironment
addGeneratedFile, deleteGeneratedFiles, error, getClassPath, getErrorCount, getFlags, getNames, getWarningCount, info, printStackTrace, setFlags, shutdown, verbose, warnMethods inherited from interface com.sun.xml.rpc.spi.tools.ProcessorEnvironment
getGeneratedFiles
-
Field Details
-
classLoader
-
-
Constructor Details
-
ProcessorEnvironmentBase
public ProcessorEnvironmentBase()
-
-
Method Details
-
getClassLoader
Get a URLClassLoader from using the classpath- Specified by:
getClassLoaderin interfaceProcessorEnvironment
-
pathToURLs
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
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
-