Class FileDefinition
java.lang.Object
io.bloviate.file.FileDefinition
- Direct Known Subclasses:
CsvFile, PipeDelimitedFile, TabDelimitedFile
Abstract base class for defining file format specifications.
Subclasses of this class define specific file formats (CSV, TSV, pipe-delimited)
for data export.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFileDefinition(FileType fileType) Constructs a new FileDefinition with the specified file type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the file type of this definition.
-
Constructor Details
-
FileDefinition
Constructs a new FileDefinition with the specified file type.- Parameters:
fileType- the type of file format this definition represents
-
-
Method Details
-
getFileType
Returns the file type of this definition.- Returns:
- the FileType enum value representing the file format
-