Home > Contents > Index > 
Expanded TOC | Accordion TOC | Annotated TOC | Index 
Utilities.goodString
Indicates whether a string is not empty or null.
Syntax
public static final boolean goodString(String str)Parameters
str- Input. Specify the string to evaluate.
 
Returns
Returns
trueif string is not null and length is not zero (0), otherwise, returnsfalse.Example
The following code determines whether the
cs.pagecachefolderproperty contains a value:
String Property = "CS.Property.cs.pagecachefolder"; String path = ics.ResolveVariables(Property); if ( !Utilities.goodString( path ) { // not set in properties; check arguments path = vIn.getValString( "pagecachefolder"); }
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.