public class Util extends Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static String |
escapeSpace(String url) |
static Object |
getFileOrURL(String fileOrURL)
|
static InputSource |
getInputSource(String fileOrURL)
Gets an InputSource from a string, which contains either
a file name or an URL.
|
public static Object getFileOrURL(String fileOrURL) throws IOException
IOException
- if the parameter is neither.public static InputSource getInputSource(String fileOrURL)
Copyright © 2017 JBoss by Red Hat. All rights reserved.