Interface SupportedFileExtensionsBuilder
public interface SupportedFileExtensionsBuilder
Builder for a list of supported file extensions of a custom parser.
Uses
SupportedFileExtensionBuilder
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionadd
(Function<SupportedFileExtensionBuilder, SupportedFileExtension> supportedFileExtensionBuilder) Adds a new supported file extension through the SupportedFileExtensionBuilder.build()
Builds a list of supported file extension objects.
-
Method Details
-
add
SupportedFileExtensionsBuilder add(Function<SupportedFileExtensionBuilder, SupportedFileExtension> supportedFileExtensionBuilder) Adds a new supported file extension through the SupportedFileExtensionBuilder.- Parameters:
supportedFileExtensionBuilder
- callback that returns a supported file extension object- Returns:
- Supported file extensions builder
-
build
List<SupportedFileExtension> build()Builds a list of supported file extension objects.- Returns:
- A list of specific concrete supported file extension objects
-