public static void typeString ( final Robot robot , final String input ) throws NoSuchFieldException , IllegalAccessException { if ( input != null && ! input . isEmpty ( ) ) { for ( final char character : input . toCharArray ( ) ) { typeCharacter ( robot , character ) ; } } }
Type the given string with the given robot .