* its attributes
*/
public List<Object[]> doInBackground() {
List<Object[]> list = new ArrayList<Object[]>();
final NullProgressListener listener = new NullProgressListener();
try {
features.accepts( new FeatureVisitor() {
public void visit(Feature feature) {
SimpleFeature simple = (SimpleFeature) feature;
Object[] values = simple.getAttributes().toArray();
ArrayList<Object> row = new ArrayList<Object>( Arrays.asList( values ));
row.add(0, simple.getID() );
publish( row.toArray() );
if( isCancelled() ) listener.setCanceled(true);
}
} , listener );
} catch (IOException e) {
exception = e;
}