Top Constructors Methods
com.sun.tools.xjc.reader

public final Class Util

extends Object
Class Inheritance
Imports
java.io.File, .IOException, java.net.MalformedURLException, .URL, org.xml.sax.InputSource

Constructor Summary

AccessConstructor and Description
private
Util()

Method Summary

Modifier and TypeMethod and Description
public static String
public static Object
getFileOrURL(String fileOrURL)

Parses the specified string either as an URL or as a File.

public static InputSource
getInputSource(String fileOrURL)

Gets an InputSource from a string, which contains either a file name or an URL.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Utilback to summary
private Util()

Method Detail

escapeSpaceback to summary
public static String escapeSpace(String url)
getFileOrURLback to summary
public static Object getFileOrURL(String fileOrURL) throws IOException

Parses the specified string either as an URL or as a File.

Exceptions
IOException:
if the parameter is neither.
getInputSourceback to summary
public static InputSource getInputSource(String fileOrURL)

Gets an InputSource from a string, which contains either a file name or an URL.