@NotThreadSafe public class CachingSAXInputSource extends InputSource
InputSource that ensures that the passed
InputStream is closed. This is achieved by copying the content in a
NonBlockingByteArrayInputStream.| Constructor and Description |
|---|
CachingSAXInputSource(com.helger.commons.io.IHasInputStream aISP) |
CachingSAXInputSource(com.helger.commons.io.IHasInputStream aISP,
String sSystemID) |
CachingSAXInputSource(InputStream aIS) |
CachingSAXInputSource(InputStream aIS,
String sSystemID) |
CachingSAXInputSource(com.helger.commons.io.resource.IReadableResource aRes) |
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemIdpublic CachingSAXInputSource(@Nonnull com.helger.commons.io.resource.IReadableResource aRes)
public CachingSAXInputSource(@Nonnull com.helger.commons.io.IHasInputStream aISP)
public CachingSAXInputSource(@Nonnull com.helger.commons.io.IHasInputStream aISP, @Nullable String sSystemID)
public CachingSAXInputSource(@Nonnull @WillClose InputStream aIS)
public CachingSAXInputSource(@Nonnull @WillClose InputStream aIS, @Nullable String sSystemID)
Copyright © 2014–2020 Philip Helger. All rights reserved.