|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcwms.environment.CwmsEnvironmentImpl
CWMS-oriented implementation of the Environment interface.
Environment
Field Summary |
Fields inherited from interface hec.environment.StdPathnameConstants |
COMMON_APPDATA, COMMON_DOCS, PROGRAM_INSTALL, USER_APPDATA, USER_DOCS, USER_HOME |
Constructor Summary | |
CwmsEnvironmentImpl()
Default constructor |
Method Summary | |
java.lang.String |
getCommonAppData()
Get the CWMS-specific shared application data pathname. |
java.lang.String |
getCommonDocs()
Get the CWMS-specific shared docuements pathname. |
java.lang.String |
getProgramInstall()
Get the CWMS-specific program installation pathname. |
java.lang.String |
getStdPathname(int pathname_id)
Get the CWMS-specific pathname represented by the pathname_id. |
java.lang.String |
getUserAppData()
Get the CWMS-specific user application data pathname. |
java.lang.String |
getUserDocs()
Get the CWMS-specific user docuements pathname. |
java.lang.String |
getUserHome()
Get the CWMS-specific user home pathname. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CwmsEnvironmentImpl()
Method Detail |
public java.lang.String getStdPathname(int pathname_id) throws java.lang.Exception
getStdPathname
in interface StdPathnames
pathname_id
- The constant representing the desired pathname.
java.lang.Exception
public java.lang.String getUserHome() throws java.lang.Exception
getUserHome
in interface StdPathnames
java.lang.Exception
public java.lang.String getUserAppData() throws java.lang.Exception
getUserAppData
in interface StdPathnames
java.lang.Exception
public java.lang.String getUserDocs() throws java.lang.Exception
getUserDocs
in interface StdPathnames
java.lang.Exception
public java.lang.String getCommonAppData() throws java.lang.Exception
getCommonAppData
in interface StdPathnames
java.lang.Exception
public java.lang.String getCommonDocs() throws java.lang.Exception
getCommonDocs
in interface StdPathnames
java.lang.Exception
public java.lang.String getProgramInstall() throws java.lang.Exception
getProgramInstall
in interface StdPathnames
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |