gao5867565 发表于 2016-10-14 13:05 Pattern.compile(".((jpg)|(png)|(gif))$").matcher(file.getName()).find()