private boolean isSpecTopicMetaData ( final String key , final String value ) { if ( ContentSpecUtilities . isSpecTopicMetaData ( key ) ) { // Abstracts can be plain text so check an opening bracket exists if ( key . equalsIgnoreCase ( CommonConstants . CS_ABSTRACT_TITLE ) || key . equalsIgnoreCase ( CommonConstants . CS_ABSTRACT_ALTERNATE_TITLE ) ) { final String fixedValue = value . trim ( ) . replaceAll ( "(?i)^" + key + "\\s*" , "" ) ; return fixedValue . trim ( ) . startsWith ( "[" ) ; } else { return true ; } } else { return false ; } }
Checks if a metadata line is a spec topic .