org.eclipse.datatools.enablement.oda.xml.util
Class XMLSourceFromPath
java.lang.Object
org.eclipse.datatools.enablement.oda.xml.util.XMLSourceFromPath
- All Implemented Interfaces:
- IXMLSource
public class XMLSourceFromPath
- extends java.lang.Object
- implements IXMLSource
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSourceFromPath
public XMLSourceFromPath(java.lang.String path)
throws OdaException
- Throws:
OdaException
XMLSourceFromPath
public XMLSourceFromPath(java.lang.String path,
java.lang.String encoding)
throws OdaException
- Throws:
OdaException
openInputStream
public java.io.InputStream openInputStream()
throws OdaException
- Specified by:
openInputStream in interface IXMLSource
- Throws:
OdaException
release
public void release()
throws OdaException
- Specified by:
release in interface IXMLSource
- Throws:
OdaException
getEncoding
public java.lang.String getEncoding()
- Specified by:
getEncoding in interface IXMLSource