com.sun.tools.xjc.reader
Class Util
java.lang.Object
com.sun.tools.xjc.reader.Util
public class Util
- extends Object
|
Constructor Summary |
Util()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
getFileOrURL
public static Object getFileOrURL(String fileOrURL)
throws IOException
- Parses the specified string either as an
URL or as a File.
- Throws:
IOException - if the parameter is neither.
getInputSource
public static InputSource getInputSource(String fileOrURL)
- Gets an InputSource from a string, which contains either
a file name or an URL.
escapeSpace
public static String escapeSpace(String url)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.