|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.util.io.DomainDirs
public final class DomainDirs
A class for keeping track of the directories that a domain lives in and under.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
static File |
getDefaultDomainsDir()
|
File |
getDomainDir()
|
String |
getDomainName()
|
File |
getDomainsDir()
|
ServerDirs |
getServerDirs()
|
boolean |
isValid()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DomainDirs()
throws IOException
IOException
public DomainDirs(File domainsDir,
String domainName)
throws IOException
IOException
public DomainDirs(File domainDir)
throws IOException
domainsDir - domainName -
IOExceptionpublic DomainDirs(ServerDirs sd)
aServerDir - | Method Detail |
|---|
public String toString()
toString in class Objectpublic 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
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||