Package com.sun.tools.xjc.reader
Class Util
java.lang.Object
com.sun.tools.xjc.reader.Util
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeSpace(String url) static ObjectgetFileOrURL(String fileOrURL) static InputSourcegetInputSource(String fileOrURL) Gets an InputSource from a string, which contains either a file name or an URL.
-
Method Details
-
getFileOrURL
- Throws:
IOException- if the parameter is neither.
-
getInputSource
Gets an InputSource from a string, which contains either a file name or an URL. -
escapeSpace
-