org.xwiki.xmlrpc.model
Class Utils

java.lang.Object
  extended by org.xwiki.xmlrpc.model.Utils

public class Utils
extends java.lang.Object

Utility methods.

Version:
$Id$

Constructor Summary
Utils()
           
 
Method Summary
static java.lang.String truncateToFirstLine(java.lang.String string)
          Truncate a string to the first '\n' character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

truncateToFirstLine

public static java.lang.String truncateToFirstLine(java.lang.String string)
Truncate a string to the first '\n' character.

Parameters:
string -
Returns:
The truncated string.


Copyright © 2004-2011 XWiki. All Rights Reserved.