All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.xml.parser.Stderr
java.lang.Object
|
+----com.ibm.xml.parser.Stderr
- public class Stderr
- extends Object
- implements ErrorListener, StreamProducer
A sample implementation of ErrorListener
, StreamProducer
.
This class prints erros to standard error stream, and produce streams from files and URL.
- Version:
- 19980206
-
Stderr(String)
- Make new Stderr instance.
-
error(String, int, int, Object, String)
- Print error to standard error stream.
-
getInputStream(String, String, String)
- Produce InputStream from specified name.
Stderr
public Stderr(String fname)
- Make new Stderr instance.
- Parameters:
- fname - default file name when error() is called by null fname.
error
public void error(String fname,
int lineno,
int charoff,
Object key,
String mes)
- Print error to standard error stream.
- See Also:
- ErrorListener
getInputStream
public InputStream getInputStream(String name,
String pubid,
String sysid) throws IOException
- Produce InputStream from specified name.
- See Also:
- StreamProducer
All Packages Class Hierarchy This Package Previous Next Index