Interface IFileSearchOptions
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ECommonFileSearchOptions
,FileSearchOptions
public interface IFileSearchOptions extends Serializable
Options that influence how files are retrieved byresolveReferencedFiles
. Lets you e.g. specify additional filter settings.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Set<String>
getAllowedContentTypes()
List of allowed content types.Set<String>
getAllowedFileExtensions()
List of allowed file extensions.String
getDefaultResourceFileName()
File name that is used for external network resources.
-
-
-
Method Detail
-
getAllowedContentTypes
default Set<String> getAllowedContentTypes()
List of allowed content types. Only files with one of these content types are returned. Whennull
or empty, no restriction is applied.- Returns:
- Set of allowed content types.
-
getAllowedFileExtensions
Set<String> getAllowedFileExtensions()
List of allowed file extensions. Only files with one of these extensions are returned. Whennull
or empty, no restriction is applied.- Returns:
- Set of allowed file extensions.
-
getDefaultResourceFileName
String getDefaultResourceFileName()
File name that is used for external network resources. If not given, a file name is derived from the URL.- Returns:
- File name that is used for external network resources.
-
-