public abstract class SaxResourceUtils extends Object
| Constructor and Description |
|---|
SaxResourceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static InputSource |
createInputSource(Resource resource)
Create a SAX
InputSource from the given resource. |
public static InputSource createInputSource(Resource resource) throws IOException
InputSource from the given resource.
Sets the system identifier to the resource's URL, if available.
resource - the resourceIOException - if an I/O exception occursInputSource.setSystemId(String),
getSystemId(org.springframework.core.io.Resource)