forse conviene lavorare con le Regular Expressions, di cui avrai sicuramente sentito parlare.
Esempio:
codice:
import java.util.regex.*;
/**
 *
 * @author Andrea
 */
public class Regex01 {
    
    public static void main (String[] args) {
        String pattern = "\\w( \\w){7}";
        Pattern p = Pattern.compile(pattern);
        String[] test = new String[] {
            "a b c d e f g h", //corretto
            "ab c d e f g h i", //errato, due caratteri attaccati
            "1 . 4 a b c d e", // errato, altra roba
            "A b C D e F g H", //corretto
            "A b c d", // errato, troppo corto
            "a  b c d e f g h", // errato, doppio spazio
        };
        Matcher m;
        for (String s : test) {
            m = p.matcher(s);
            System.out.println(s +" : " +  m.matches());
        }        
    }
    
}
dove
codice:
\\w = carattere (solo lettere)
( \\w){7} = spazio e carattere, ripetuto 7 volte