org.locationtech.geomesa.utils.io.fs
Abstraction over a readable file
Creation mode for files
Creation mode for files
Create
- file must not exist, else throw FileAlreadyExists
Overwrite
- existing file will be truncated, else throw FileNotFoundException
Append
- existing file will be appended, else throw FileNotFoundException
Create|Overwrite
- if file exists, create it, else truncate it
Create|Append
- if file exists, create it, else append it
CreateParents
- combined with Create
, if parent folder does not exist, create it