src/main/java/com/zandero/utils/StringUtils.java
public static boolean isWord(String word) {

		if (isNullOrEmptyTrimmed(word)) {
			return false;
		}

		List<String> list = getWords(word);
		return list.size() == 1;
	}
public static boolean isWord(String word) {

		if (isNullOrEmptyTrimmed(word)) {
			return false;
		}

		List<String> list = getWords(word);
		return list.size() == 1;
	}
public static boolean isWord ( String word ) { if ( isNullOrEmptyTrimmed ( word ) ) { return false ; } List < String > list = getWords ( word ) ; return list . size ( ) == 1 ; }
Checks if given string is a single word (doesn't accepts words with "-" as a single word!)

@param word to test
@return true if word, false otherwise
Checks if given string is a single word ( doesn t accepts words with - as a single word! )