public static Integer getContentSpecID ( final String contentSpecString ) { final Matcher matcher = CS_ID_PATTERN . matcher ( contentSpecString ) ; if ( matcher . find ( ) ) { return Integer . parseInt ( matcher . group ( "ID" ) ) ; } return null ; }
Get the ID of a Content Specification object .