public class KarafPropertiesFile extends Object
| Constructor and Description |
|---|
KarafPropertiesFile(File propertyFile) |
KarafPropertiesFile(File karafHome,
String location) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(KarafPropertyEdit editSpec) |
void |
extend(String key,
String value,
boolean prepend) |
String |
get(String key) |
void |
load() |
void |
put(String key,
String value) |
void |
replace(File source) |
void |
store() |
void |
store(File destinationFile) |
public KarafPropertiesFile(File propertyFile)
public void load()
throws IOException
IOExceptionpublic void apply(KarafPropertyEdit editSpec)
public void store()
throws IOException
IOExceptionpublic void store(File destinationFile) throws IOException
IOExceptionpublic void replace(File source)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.