ch.uzh.ifi.attempto.ape
Class PrologUtils

java.lang.Object
  extended by ch.uzh.ifi.attempto.ape.PrologUtils

public class PrologUtils
extends java.lang.Object

This class contains Prolog-related utility methods.

Author:
Tobias Kuhn

Method Summary
static java.lang.String escape(java.lang.String s)
          Escapes the string according to Prolog escaping rules and puts it into single quotes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

escape

public static java.lang.String escape(java.lang.String s)
Escapes the string according to Prolog escaping rules and puts it into single quotes.

Parameters:
s - The string to be escaped.
Returns:
The escaped string.


Copyright 2008-2009, Attempto Group, University of Zurich (see http://attempto.ifi.uzh.ch)