I don't think you can - the ShapeFileDatastore doesn't keep that info in a
public variable as far as I can see
Ian
On Thu, 7 Apr 2022 at 11:41, wrote:
> Hi,
>
> I have a FeatureSource that is a Shape file, How can I read out the URL
> from that FeatureSource to that shape file?
>
> Kind regards,
>
> Paul
>
>
> ___
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
--
Ian Turton
___
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users