org.ow2.petals.engine.sampleclient
Class Utils

java.lang.Object
  extended by org.ow2.petals.engine.sampleclient.Utils

public class Utils
extends java.lang.Object

Created on 21 févr. 08

Since:
Author:
Christophe HAMERLING - eBM WebSourcing

Method Summary
static javax.xml.transform.Source createSource(java.lang.String msg)
           
static java.lang.String createString(javax.xml.transform.Source source)
           
static boolean isNullOrEmpty(java.lang.String s)
          Return true if the String is null or its size is 0.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createString

public static java.lang.String createString(javax.xml.transform.Source source)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

isNullOrEmpty

public static boolean isNullOrEmpty(java.lang.String s)
Return true if the String is null or its size is 0.

Parameters:
s -
Returns:

createSource

public static javax.xml.transform.Source createSource(java.lang.String msg)
                                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.