private static String parseId(String parentString) {
        int idx = parentString.indexOf('[');
        if (idx == -1)
            return null;

        return parentString.substring(idx + 1, parentString.indexOf(']'));
    }
private static String parseId ( String parentString ) { int idx = parentString . indexOf ( '[' ) ; if ( idx == - 1 ) return null ; return parentString . substring ( idx + 1 , parentString . indexOf ( ']' ) ) ; }
@param parentString
@return