RFR 8057113: (fs) Path should have a method to test the filename extension
Alan.Bateman at oracle.com
Thu Feb 15 17:22:29 UTC 2018
On 15/02/2018 17:04, Daniel Fuchs wrote:
> Hi Brian,
> 185 String path = toString();
> shouldn't this be
> String path = getFileName().toString()?
> I wonder if the specification of getExtension() should
> be defined has being a substring of getFileName()?
Right, there are a couple of issues that follow on from that, esp. when
you get into Path objects that only have a root component (C: or / for
More information about the nio-dev