public List < ValidatorMetaData > readMetaData ( Class < ? > clazz , String propertyName ) { /* Load the properties file. */ Properties props = loadMetaDataPropsFile ( clazz ) ; /* Get the raw validation data for the given property. */ String unparsedString = props . getProperty ( propertyName ) ; /* Parse the string into a list of ValidationMetaData. */ return extractMetaDataFromString ( clazz , propertyName , unparsedString ) ; }
Read the meta - data from a properties file .