public abstract class SaxResourceUtils extends Object
| 构造器和说明 |
|---|
SaxResourceUtils() |
public static InputSource createInputSource(org.springframework.core.io.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)