Class SecUtil
java.lang.Object
org.codehaus.plexus.components.secdispatcher.internal.SecUtil
- Version:
- $Id$
- Author:
- Oleg Gusakov
-
Method Summary
Modifier and TypeMethodDescriptiongetConfig(SettingsSecurity sec, String name) Returns config with given name, ornullif not exist.static SettingsSecurityReads the configuration model up, if exists, otherwise returnsnull.static Stringstatic voidwrite(Path target, SettingsSecurity configuration, boolean doBackup)
-
Method Details
-
read
Reads the configuration model up, if exists, otherwise returnsnull.- Throws:
IOException
-
getConfig
Returns config with given name, ornullif not exist. -
specVersion
-
write
public static void write(Path target, SettingsSecurity configuration, boolean doBackup) throws IOException - Throws:
IOException
-