@ javax . annotation . Nonnull public static String getIndent ( @ javax . annotation . Nonnull final String txt ) { @ javax . annotation . Nonnull final Matcher matcher = Pattern . compile ( "^\\s+" ) . matcher ( txt ) ; return matcher . find ( ) ? matcher . group ( 0 ) : "" ; }
Gets indent .