org.directwebremoting.extend
Class ConvertUtil

java.lang.Object
  extended by org.directwebremoting.extend.ConvertUtil

public class ConvertUtil
extends java.lang.Object

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Field Summary
static int INBOUND_INDEX_TYPE
          splitInbound() returns the type info in this parameter
static int INBOUND_INDEX_VALUE
          splitInbound() returns the value info in this parameter
 
Constructor Summary
ConvertUtil()
           
 
Method Summary
static java.lang.String[] splitInbound(java.lang.String data)
          The javascript outbound marshaller prefixes the toString value with a colon and the original type information.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INBOUND_INDEX_TYPE

public static final int INBOUND_INDEX_TYPE
splitInbound() returns the type info in this parameter

See Also:
Constant Field Values

INBOUND_INDEX_VALUE

public static final int INBOUND_INDEX_VALUE
splitInbound() returns the value info in this parameter

See Also:
Constant Field Values
Constructor Detail

ConvertUtil

public ConvertUtil()
Method Detail

splitInbound

public static java.lang.String[] splitInbound(java.lang.String data)
The javascript outbound marshaller prefixes the toString value with a colon and the original type information. This undoes that.

Parameters:
data - The string to be split up
Returns:
A string array containing the split data

Copyright ยจ 2008