public class InputProxy
extends org.xml.sax.InputSource
Constructor and Description |
---|
InputProxy() |
InputProxy(DiskFile file)
Constructor for InputProxy with a DiskFile as parameter.
|
InputProxy(DiskFile file,
boolean doThrow)
Constructor for InputProxy with a DiskFile as parameter.
|
InputProxy(java.io.InputStream s) |
InputProxy(java.io.InputStream s,
java.lang.String systemId) |
InputProxy(java.io.Reader r) |
InputProxy(java.io.Reader r,
java.lang.String systemId) |
InputProxy(java.lang.String sysId)
Create an input proxy object from a variety of sources.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the input bytestream/characterstream/file.
|
java.io.InputStream |
getByteStream()
Returns the InputStream.
|
java.io.Reader |
getCharacterStream()
Returns the Reader.
|
java.io.Reader |
getCharacterStream(java.lang.String enc)
Returns a reader with the specified encoding
|
protected void |
makeInputProxyFromSystemID(java.lang.String systemId) |
java.lang.String |
toString()
string representation of object
|
public InputProxy(DiskFile file) throws java.lang.Exception
java.lang.Exception
public InputProxy(DiskFile file, boolean doThrow) throws java.lang.Exception
java.lang.Exception
public InputProxy()
public InputProxy(java.io.InputStream s)
public InputProxy(java.io.InputStream s, java.lang.String systemId)
public InputProxy(java.io.Reader r)
public InputProxy(java.io.Reader r, java.lang.String systemId)
public InputProxy(java.lang.String sysId) throws java.lang.Exception
sysId
- UpcastException
java.lang.Exception
public java.io.InputStream getByteStream()
getByteStream
in class org.xml.sax.InputSource
public java.io.Reader getCharacterStream()
getCharacterStream
in class org.xml.sax.InputSource
public java.io.Reader getCharacterStream(java.lang.String enc) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public void close()
protected void makeInputProxyFromSystemID(java.lang.String systemId)
public java.lang.String toString()
toString
in class java.lang.Object