/* * Util.java * * Created on 8 de Julho de 2007, 18:34 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package webutil; import java.util.logging.Logger; /** * * @author Eduardo */ public class Util { /** Creates a new instance of Util */ public Util() { } public static boolean textHasContent(String aText) { boolean valid = true; if(aText != null) { aText = aText.trim(); if(aText.equals("")) valid = false; } else valid = false; return valid; } public static Logger getLogger(Class aClass) { return Logger.getLogger(aClass.getName()); } }