org.jrdf.util
Class EscapeUtil

java.lang.Object
  extended byorg.jrdf.util.EscapeUtil

public class EscapeUtil
extends Object

A utility which applies N-Triples escaping.

Version:
$Revision: 1.1 $
Author:
Andrew Newman

Method Summary
static String escape(String string)
          Escapes a string literal to a string that is N-Triple escaped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

escape

public static String escape(String string)
Escapes a string literal to a string that is N-Triple escaped.

Parameters:
string - a string to escape, never null.
Returns:
a version of the string with N-Triples escapes applied.