public static enum IFileWriter.FileType extends Enum<IFileWriter.FileType>
Modifier and Type | Method and Description |
---|---|
static IFileWriter.FileType |
fromString(String extension) |
String |
getExtension() |
static IFileWriter.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IFileWriter.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IFileWriter.FileType XLSX
public static final IFileWriter.FileType CSV
public static final IFileWriter.FileType PDF
public static final IFileWriter.FileType PNG
public static IFileWriter.FileType[] values()
for (IFileWriter.FileType c : IFileWriter.FileType.values()) System.out.println(c);
public static IFileWriter.FileType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getExtension()
public static IFileWriter.FileType fromString(String extension)
Copyright © 2024. All rights reserved.