com.hp.hpl.jena.n3
Class N3ErrorPrinter

java.lang.Object
  |
  +--com.hp.hpl.jena.n3.NullN3EventHandler
        |
        +--com.hp.hpl.jena.n3.N3ErrorPrinter
All Implemented Interfaces:
N3ParserEventHandler

public class N3ErrorPrinter
extends NullN3EventHandler

Version:
$Id: N3ErrorPrinter.java,v 1.1 2002/09/18 10:49:58 andy_seaborne Exp $
Author:
Andy Seaborne

Constructor Summary
N3ErrorPrinter(java.io.OutputStream _out)
           
N3ErrorPrinter(java.io.Writer _out)
          Best not to use a PrintWriter, but use an OutputStreamWriter (buffered) with charset "UTF-8".
 
Method Summary
 void error(java.lang.Exception ex, java.lang.String message)
           
 
Methods inherited from class com.hp.hpl.jena.n3.NullN3EventHandler
deprecated, directive, endDocument, endFormula, quad, startDocument, startFormula, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

N3ErrorPrinter

public N3ErrorPrinter(java.io.OutputStream _out)

N3ErrorPrinter

public N3ErrorPrinter(java.io.Writer _out)
Best not to use a PrintWriter, but use an OutputStreamWriter (buffered) with charset "UTF-8".

Method Detail

error

public void error(java.lang.Exception ex,
                  java.lang.String message)
Specified by:
error in interface N3ParserEventHandler
Overrides:
error in class NullN3EventHandler


Copyright © 2001 Hewlett-Packard. All Rights Reserved.