return value;
}
private FileType readFileType( String prefix, Registry registry )
{
FileType value = new FileType();
//String id = registry.getString( prefix + "id", value.getId() );
List<String> idList = registry.getList( prefix + "id" );
String id = value.getId();
if (idList != null && !idList.isEmpty() )
{
StringBuilder sb = new StringBuilder( );
for (int i = 0,size = idList.size();i<size;i++)
{
sb.append( idList.get( i ) );
if (i<size - 1)
{
sb.append( ',' );
}
}
id = sb.toString();
}
value.setId( id );
java.util.List patterns = new java.util.ArrayList/*<String>*/();
patterns.addAll( registry.getList( prefix + "patterns.pattern" ) );
value.setPatterns( patterns );
return value;
}