@ Override protected UUID evalUUID ( ) { UUID uuid = null ; final Pattern uuidPattern = Pattern . compile ( "@eFapsUUID[\\s]*[0-9a-z\\-]*" ) ; final Matcher uuidMatcher = uuidPattern . matcher ( getCode ( ) ) ; if ( uuidMatcher . find ( ) ) { final String uuidStr = uuidMatcher . group ( ) . replaceFirst ( "^@eFapsUUID" , "" ) ; uuid = UUID . fromString ( uuidStr . trim ( ) ) ; } return uuid ; }
This Method extracts the UUID from the source .