Package com.helger.xml.sax
Class CachingSAXInputSource
- java.lang.Object
-
- org.xml.sax.InputSource
-
- com.helger.xml.sax.CachingSAXInputSource
-
@NotThreadSafe public class CachingSAXInputSource extends InputSource
InputSourcethat ensures that the passedInputStreamis closed. This is achieved by copying the content in aNonBlockingByteArrayInputStream.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description CachingSAXInputSource(com.helger.commons.io.IHasInputStream aISP)CachingSAXInputSource(com.helger.commons.io.IHasInputStream aISP, String sSystemID)CachingSAXInputSource(com.helger.commons.io.resource.IReadableResource aRes)CachingSAXInputSource(InputStream aIS)CachingSAXInputSource(InputStream aIS, String sSystemID)
-
Method Summary
-
Methods inherited from class org.xml.sax.InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, isEmpty, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
-
-
-
-
Constructor Detail
-
CachingSAXInputSource
public CachingSAXInputSource(@Nonnull com.helger.commons.io.resource.IReadableResource aRes)
-
CachingSAXInputSource
public CachingSAXInputSource(@Nonnull com.helger.commons.io.IHasInputStream aISP)
-
CachingSAXInputSource
public CachingSAXInputSource(@Nonnull com.helger.commons.io.IHasInputStream aISP, @Nullable String sSystemID)
-
CachingSAXInputSource
public CachingSAXInputSource(@Nonnull @WillClose InputStream aIS)
-
CachingSAXInputSource
public CachingSAXInputSource(@Nonnull @WillClose InputStream aIS, @Nullable String sSystemID)
-
-