public void pre(ImportTask item, ImportData data) throws Exception { for (PreVectorTransform tx : filter(transforms, PreVectorTransform.class)) { try { tx.apply(item, data); } catch (Exception e) { error(tx, e); } } }
public void post(ImportTask task, ImportData data) throws Exception { for (PostVectorTransform tx : filter(transforms, PostVectorTransform.class)) { try { tx.apply(task, data); } catch (Exception e) { error(tx, e); } } }
public SimpleFeature inline(ImportTask task, DataStore dataStore, SimpleFeature oldFeature, SimpleFeature feature) throws Exception { for (InlineVectorTransform tx : filter(transforms, InlineVectorTransform.class)) { try { feature = tx.apply(task, dataStore, oldFeature, feature); if (feature == null) { break; } } catch (Exception e) { error(tx, e); } } return feature; }
public SimpleFeature inline( ImportTask task, DataStore dataStore, SimpleFeature oldFeature, SimpleFeature feature) throws Exception { for (InlineVectorTransform tx : filter(transforms, InlineVectorTransform.class)) { try { feature = tx.apply(task, dataStore, oldFeature, feature); if (feature == null) { break; } } catch (Exception e) { error(tx, e); } } return feature; } }
public SimpleFeatureType inline( ImportTask task, DataStore dataStore, SimpleFeatureType featureType) throws Exception { for (InlineVectorTransform tx : filter(transforms, InlineVectorTransform.class)) { try { tx.init(); featureType = tx.apply(task, dataStore, featureType); } catch (Exception e) { error(tx, e); } } return featureType; }
public SimpleFeatureType inline(ImportTask task, DataStore dataStore, SimpleFeatureType featureType) throws Exception { for (InlineVectorTransform tx : filter(transforms, InlineVectorTransform.class)) { try { tx.init(); featureType = tx.apply(task, dataStore, featureType); } catch (Exception e) { error(tx, e); } } return featureType; }