public final class ContentFileExtensions extends Object
Constructor and Description |
---|
ContentFileExtensions(List<String> contentFileSuffixes) |
Modifier and Type | Method and Description |
---|---|
String |
getSuffix(File file)
Get suffix from file name.
|
Collection<String> |
getSuffixes() |
boolean |
isEmpty() |
boolean |
matchesSuffix(File file)
Checks suffix from file name.
|
public String getSuffix(File file)
file
- Filepublic boolean matchesSuffix(File file)
file
- Filepublic Collection<String> getSuffixes()
public boolean isEmpty()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.