public class RedactorConfiguration extends Object
Provides access to a list of supported formats, built-in and custom user formats.
<b>Learn more</b>
Constructor and Description |
---|
RedactorConfiguration() |
Modifier and Type | Method and Description |
---|---|
DocumentFormatConfiguration |
findFormat(String fileExtension)
Finds format configurations for a given file extension.
|
List<DocumentFormatConfiguration> |
getAvailableFormats()
Gets a list of recognized formats, see
DocumentFormatConfiguration . |
public final List<DocumentFormatConfiguration> getAvailableFormats()
Gets a list of recognized formats, see DocumentFormatConfiguration
.
DocumentFormatConfiguration
.public final DocumentFormatConfiguration findFormat(String fileExtension)
Finds format configurations for a given file extension.
fileExtension
- File extension, format is ".ext"DocumentFormatConfiguration
, null otherwise