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, ornull
if not exist.static SettingsSecurity
Reads the configuration model up, if exists, otherwise returnsnull
.static String
static void
write
(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, ornull
if not exist. -
specVersion
-
write
public static void write(Path target, SettingsSecurity configuration, boolean doBackup) throws IOException - Throws:
IOException
-