How to check file suffix of Java Path

Path.endsWith(String) will ONLY match another sub-element of Path object in your original path, not the path name string portion.

So you can use such as:

to check the file suffix.

Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...