public class DomainInstaller
extends java.lang.Object
| Constructor and Description |
|---|
DomainInstaller() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
copyRecursively(java.lang.String dir,
java.lang.String target) |
static void |
run()
Installs the domain files for use in Genius.
|
public static void run()
throws java.io.IOException
java.io.IOException - if failes to copy the filesprotected static void copyRecursively(java.lang.String dir,
java.lang.String target)
throws java.io.IOException
dir - the head part of all files needed, eg "genius/templates/".target - the head part to be used for the target files. We replace
"dir" with "target" in all matching files. Remember to add
trailing "/" if you have trailing "/" in dir as welljava.io.IOExceptionjava.net.URISyntaxException