public class KerberosConfigDataFileWriter extends AbstractKerberosDataFileWriter implements KerberosConfigDataFile
CSVPrinter to create a CSV-formatted file.CONFIGURATION_TYPE, DATA_FILE_NAME, KEY, OPERATION, OPERATION_TYPE_REMOVE, OPERATION_TYPE_SET, VALUE| Modifier and Type | Method and Description |
|---|---|
void |
addRecord(String config,
String key,
String value,
String operation)
Appends a new record to the data file
|
protected Iterable<String> |
getHeaderRecord()
Gets the header record for the CSV file
|
appendRecord, close, isClosed, openclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, openpublic void addRecord(String config, String key, String value, String operation) throws IOException
config - a String declaring the relevant configuration type for the key and valuekey - a String declaring the key (or property name) with in the relevant configuration typevalue - a String containing the value of the configuration propertyoperation - a String containing the operation to perform, expected "SET" or "REMOVE"IOExceptionprotected Iterable<String> getHeaderRecord()
AbstractKerberosDataFileWritergetHeaderRecord in class AbstractKerberosDataFileWriterCopyright © 2022 Apache Software Foundation. All rights reserved.