org.xwiki.gwt.wysiwyg.client.diff
Class ToString

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.diff.ToString
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
Direct Known Subclasses:
Chunk, Delta, Diff, Revision

public class ToString
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

This class delegates handling of the to a StringBuffer based version.

Version:
$Revision: 1.1 $ $Date: 2006/03/12 00:24:21 $
Author:
Juanco Anez

Constructor Summary
ToString()
           
 
Method Summary
static java.lang.String arrayToString(java.lang.Object[] o)
           
static java.lang.String[] stringToArray(java.lang.String value)
          Breaks a string into an array of strings.
 java.lang.String toString()
          Default implementation of the toString() method that delegates work to a StringBuffer base version.
 void toString(java.lang.StringBuffer s)
          Place a string image of the object in a StringBuffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToString

public ToString()
Method Detail

toString

public java.lang.String toString()
Default implementation of the toString() method that delegates work to a StringBuffer base version.

Overrides:
toString in class java.lang.Object

toString

public void toString(java.lang.StringBuffer s)
Place a string image of the object in a StringBuffer.

Parameters:
s - the string buffer.

stringToArray

public static java.lang.String[] stringToArray(java.lang.String value)
Breaks a string into an array of strings. Use the value of the line.separator system property as the linebreak character.

Parameters:
value - the string to convert.

arrayToString

public static java.lang.String arrayToString(java.lang.Object[] o)


Copyright © 2004-2011 XWiki. All Rights Reserved.