Class SecUtil
java.lang.Object
org.codehaus.plexus.components.secdispatcher.internal.SecUtil
- Version:
- $Id$
-
Field Summary
Fields -
Constructor Summary
Constructors -
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)
-
Field Details
-
IS_WINDOWS
private static final boolean IS_WINDOWS
-
-
Constructor Details
-
SecUtil
private SecUtil()
-
-
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
-