public final class OutputFormatState extends Object implements OutputFormat
| Constructor and Description |
|---|
OutputFormatState(String formatSpecifier,
String description,
String... additionalFormatSpecifiers) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getFormat() |
List<String> |
getFormats() |
boolean |
isSupportedFormat(String format)
Checks if the provided format is supported.
|
String |
toString() |
public String getDescription()
getDescription in interface OutputFormatpublic String getFormat()
getFormat in interface OutputFormatpublic List<String> getFormats()
getFormats in interface OutputFormatpublic boolean isSupportedFormat(String format)
format - Format to checkCopyright © 2000-2024 Sualeh Fatehi. All rights reserved.