|
| ANY =(null) |
|
| TEXT =(List.of("pdf", "txt", "odt", "fodt", "doc", "docx")) |
|
| SHEET =(List.of("ods", "fods", "xls", "xlsx")) |
|
| IMAGE =(List.of("png", "jpg")) |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 27 of file DocumentType.java.
◆ checkExtension()
boolean org.turro.documentation.DocumentType.checkExtension |
( |
File |
file | ) |
|
Definition at line 40 of file DocumentType.java.
41 if(extensions ==
null)
return true;
42 return extensions.stream().anyMatch(e -> file.getName().toLowerCase().endsWith(
"." + e));
◆ ANY
org.turro.documentation.DocumentType.ANY =(null) |
◆ IMAGE
org.turro.documentation.DocumentType.IMAGE =(List.of("png", "jpg")) |
◆ SHEET
org.turro.documentation.DocumentType.SHEET =(List.of("ods", "fods", "xls", "xlsx")) |
◆ TEXT
org.turro.documentation.DocumentType.TEXT =(List.of("pdf", "txt", "odt", "fodt", "doc", "docx")) |
The documentation for this enum was generated from the following file: