Package com.google.gerrit.pgm.init.api
Class InitUtil
java.lang.Object
com.google.gerrit.pgm.init.api.InitUtil
Utility functions to help initialize a site.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static Die
static Die
static String
static String
static void
static String
hostname()
static boolean
isAnyAddress
(URI u) static boolean
static void
static void
static int
static void
savePublic
(org.eclipse.jgit.storage.file.FileBasedConfig sec) static URI
static String
username()
static String
version()
-
Method Details
-
die
-
die
-
savePublic
- Throws:
IOException
-
mkdir
-
mkdir
-
version
-
username
-
hostname
-
isLocal
-
dnOf
-
domainOf
-
extract
- Throws:
IOException
-
copy
- Throws:
FileNotFoundException
IOException
-
toURI
- Throws:
URISyntaxException
-
isAnyAddress
-
portOf
-