com.servingxml.io.streamsource
Interface StreamSource

All Known Implementing Classes:
ClosingStreamSource, CommandSource, DefaultJaxpStreamSource, FileSource, InlineStreamSource, InputStreamSourceAdaptor, StringStreamSource, UrlSource

public interface StreamSource


Field Summary
static StreamSource NULL
           
static java.io.InputStream NULL_INPUT_STREAM
           
 
Method Summary
 void closeStream(java.io.InputStream is)
           
 java.nio.charset.Charset getCharset()
           
 java.nio.charset.Charset getCharset(java.nio.charset.Charset defaultCharset)
           
 Expirable getExpirable()
           
 Key getKey()
           
 java.lang.String getSystemId()
           
 java.io.InputStream openStream()
           
 

Field Detail

NULL_INPUT_STREAM

static final java.io.InputStream NULL_INPUT_STREAM

NULL

static final StreamSource NULL
Method Detail

openStream

java.io.InputStream openStream()

closeStream

void closeStream(java.io.InputStream is)
                 throws java.io.IOException
Throws:
java.io.IOException

getKey

Key getKey()

getExpirable

Expirable getExpirable()

getSystemId

java.lang.String getSystemId()

getCharset

java.nio.charset.Charset getCharset()

getCharset

java.nio.charset.Charset getCharset(java.nio.charset.Charset defaultCharset)