Package de.xima.fc.workflow
Class FileSearchOptions
java.lang.Object
de.xima.fc.workflow.FileSearchOptions
- All Implemented Interfaces:
IFileSearchOptions
Default POJO implementation of
IFileSearchOptions
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionFileSearchOptions
(String defaultResourceFileName) A new POJO with the given data an nogetAllowedFileExtensions()
.FileSearchOptions
(String defaultResourceFileName, Iterable<String> allowedFileExtensions) A new POJO with the given data. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
FileSearchOptions
A new POJO with the given data an nogetAllowedFileExtensions()
.- Parameters:
defaultResourceFileName
- The value forgetDefaultResourceFileName()
.
-
FileSearchOptions
A new POJO with the given data.- Parameters:
defaultResourceFileName
- The value forgetDefaultResourceFileName()
.allowedFileExtensions
- The value forgetAllowedFileExtensions()
.
-
-
Method Details
-
getAllowedFileExtensions
- Specified by:
getAllowedFileExtensions
in interfaceIFileSearchOptions
- Returns:
- List of allowed file extensions. Only files with one of these extensions are returned. When
null
or empty, no restriction is applied.
-
getDefaultResourceFileName
- Specified by:
getDefaultResourceFileName
in interfaceIFileSearchOptions
- Returns:
- File name that is used for external network resources. If not given, a file name is derived from the URL.
-