Class AutoCloseableInputSource
java.lang.Object
org.xml.sax.InputSource
org.owasp.dependencycheck.utils.AutoCloseableInputSource
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionAutoCloseableInputSource(InputStream inputStream) AutoCloseableInputSource(Reader reader) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static AutoCloseableInputSourcefromResource(String resourceLocation) Methods inherited from class InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, isEmpty, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
-
Constructor Details
-
AutoCloseableInputSource
-
AutoCloseableInputSource
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
fromResource
public static AutoCloseableInputSource fromResource(String resourceLocation) throws FileNotFoundException - Throws:
FileNotFoundException
-