com.servingxml.io.streamsource
Class ClosingStreamSource
java.lang.Object
com.servingxml.io.streamsource.ClosingStreamSource
- All Implemented Interfaces:
- StreamSource
public class ClosingStreamSource
- extends java.lang.Object
- implements StreamSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosingStreamSource
public ClosingStreamSource(java.io.InputStream is)
ClosingStreamSource
public ClosingStreamSource(java.io.InputStream is,
java.nio.charset.Charset charset)
ClosingStreamSource
public ClosingStreamSource(java.io.InputStream is,
java.lang.String systemId)
ClosingStreamSource
public ClosingStreamSource(java.io.InputStream is,
java.lang.String systemId,
java.nio.charset.Charset charset)
openStream
public java.io.InputStream openStream()
- Specified by:
openStream
in interface StreamSource
getKey
public Key getKey()
- Specified by:
getKey
in interface StreamSource
getExpirable
public Expirable getExpirable()
- Specified by:
getExpirable
in interface StreamSource
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId
in interface StreamSource
closeStream
public void closeStream(java.io.InputStream is)
- Specified by:
closeStream
in interface StreamSource
getCharset
public java.nio.charset.Charset getCharset()
- Specified by:
getCharset
in interface StreamSource
getCharset
public java.nio.charset.Charset getCharset(java.nio.charset.Charset defaultCharset)
- Specified by:
getCharset
in interface StreamSource