open static fun createInputSource(resource: Resource): InputSource
Create a SAX InputSource from the given resource.
Sets the system identifier to the resource's URL, if available.
IOException - if an I/O exception occurs
Return
the input source created from the resource
See Also
InputSource#setSystemId(String)#getSystemId(org.springframework.core.io.Resource)