|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.InputSource
de.infinityloop.util.inout.InputProxy
public class InputProxy
A generalized input source object to pass around in the application. For simplicity, this extends org.xml.sax.InputSource .
Constructor Summary | |
---|---|
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.lang.String sysId)
Create an input proxy object from a variety of sources. |
Method Summary | |
---|---|
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 |
java.lang.String |
toString()
string representation of object |
Methods inherited from class org.xml.sax.InputSource |
---|
getEncoding, getPublicId, getSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.lang.String sysId) throws ILException
sysId
-
ILException
Method Detail |
---|
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()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |