public final class DomainDirs extends Object
| Constructor and Description |
|---|
DomainDirs()
This convenience constructor is used when nothing is known about the
domain-dir
|
DomainDirs(File domainDir)
This constructor is used when the path of the domain-directory is known.
|
DomainDirs(File domainsDir,
String domainName)
This constructor is used when both the name of the domain is known and
the domains-dir is known.
|
DomainDirs(ServerDirs sd)
Create a DomainDir from the more general ServerDirs instance.
|
| Modifier and Type | Method and Description |
|---|---|
static File |
getDefaultDomainsDir() |
File |
getDomainDir() |
String |
getDomainName() |
File |
getDomainsDir() |
ServerDirs |
getServerDirs() |
boolean |
isValid() |
String |
toString() |
public DomainDirs()
throws IOException
IOExceptionpublic DomainDirs(File domainsDir, String domainName) throws IOException
IOExceptionpublic DomainDirs(File domainDir) throws IOException
domainsDir - domainName - IOExceptionpublic DomainDirs(ServerDirs sd)
aServerDir - public final String getDomainName()
public final File getDomainDir()
public final File getDomainsDir()
public final ServerDirs getServerDirs()
public final boolean isValid()
public static File getDefaultDomainsDir() throws IOException
IOExceptionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.