I think you are looking for SimpleFeatureTypeBuilder. Please refer to the GeoTools 2.5 upgrade guide:
http://docs.codehaus.org/display/GEOTOOLS/Upgrade+to+2.5#Upgradeto2.5-TransitiontoGeoAPISimpleFeature

Kind regards,
Ben.


ruan.tong wrote:
  hi,
     Traditionally, I use FeatureTypeFactory.newFeatureType(.... ) to create a 
featuretype,but I found the abstract class is deprecated in Getools 2.4.5 and 
2.5. I  want to use :
      FeatureTypeFactory.createFeatureType(...), but in new version      
FeatureTypeFactory is   an interface,
I want to use BasicFactories.getFeatureTypeFactory() or getTypeFactory(), but 
found they are also deprecated.
     see:  
http://javadoc.geotools.fr/2.5-M3/org/geotools/factory/BasicFactories.html#getFeatureTypeFactory()
     Thus  I wound like to know, which is not deprecated?
     Thanks a lot.


vicky

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


------------------------------------------------------------------------

_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


--
Ben Caradoc-Davies <[EMAIL PROTECTED]>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to