public final class PasswordsFile extends Object
| Constructor and Description |
|---|
PasswordsFile() |
| Modifier and Type | Method and Description |
|---|---|
static String |
findPassword(String cvsRootString)
Locates scrambled password for given CVS Root.
|
static Collection<String> |
listRoots(String prefix)
List roots matching given prefix e.g.
|
static void |
storePassword(String cvsRootString,
String encodedPassword)
Writes scrambled password for given CVS root.
|
public static String findPassword(String cvsRootString)
cvsRootString - identifies repository session
[:method:][[user][:password]@][hostname
[:[port]]]/path/to/repositorynullpublic static Collection<String> listRoots(String prefix)
public static void storePassword(String cvsRootString, String encodedPassword) throws IOException
cvsRootString - identifies repository session
[:method:][[user][:password]@][hostname
[:[port]]]/path/to/repositoryencodedPassword - IOException - on write failureCopyright © 2013. All rights reserved.