Wie kann ich prüfen, ob eine Zeichenfolge nicht null und nicht leer ist?
public void doStuff(String str)
{
if (str != null && str != "**here I want to check the 'str' is empty or not**")
{
/* handle empty string */
}
/* ... */
}