class CSVSchemaParser implements SchemaParser {

    @Override
    public boolean accept(DataSetMetadata metadata) {
        if (metadata == null || metadata.getContent() == null) {
            return false;
        }
        return StringUtils.equals(metadata.getContent().getFormatFamilyId(), CSVFormatFamily.BEAN_ID);
    }

}