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 OutputFormat
public String getFormat()
getFormat
in interface OutputFormat
public List<String> getFormats()
getFormats
in interface OutputFormat
public boolean isSupportedFormat(String format)
format
- Format to checkCopyright © 2000-2020 Sualeh Fatehi. All rights reserved.