KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > util > StringHelper


1 package org.objectweb.rentacar.util;
2
3 public class StringHelper {
4
5     public static boolean isEmpty(String JavaDoc s)
6     {
7         if (s == null) return true;
8         
9         if (s.trim().equals("")) return true;
10         
11         return false;
12     }
13
14 }
15
Popular Tags