|
||||||||||
| 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(java.io.File domainDir)
This constructor is used when the path of the domain-directory is known. |
|
DomainDirs(java.io.File domainsDir,
java.lang.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 java.io.File |
getDefaultDomainsDir()
|
java.io.File |
getDomainDir()
|
java.lang.String |
getDomainName()
|
java.io.File |
getDomainsDir()
|
ServerDirs |
getServerDirs()
|
boolean |
isValid()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DomainDirs()
throws java.io.IOException
java.io.IOException
public DomainDirs(java.io.File domainsDir,
java.lang.String domainName)
throws java.io.IOException
java.io.IOException
public DomainDirs(java.io.File domainDir)
throws java.io.IOException
domainsDir - domainName -
java.io.IOExceptionpublic DomainDirs(ServerDirs sd)
aServerDir - | Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic final java.lang.String getDomainName()
public final java.io.File getDomainDir()
public final java.io.File getDomainsDir()
public final ServerDirs getServerDirs()
public final boolean isValid()
public static java.io.File getDefaultDomainsDir()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||