Package com.aspectran.core.adapter
Class AbstractApplicationAdapter
java.lang.Object
com.aspectran.core.adapter.AbstractApplicationAdapter
- All Implemented Interfaces:
ApplicationAdapter
- Direct Known Subclasses:
DefaultApplicationAdapter
The Class AbstractApplicationAdapter.
- Since:
- 2011. 3. 13.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the base path that the current application is mapped to.Returns the base path that the current application is mapped to.getRealPath
(String path) Returns the real file system path for a given virtual path relative to the base path of the current application.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aspectran.core.adapter.ApplicationAdapter
getAttribute, getAttributeNames, removeAttribute, setAttribute
-
Constructor Details
-
AbstractApplicationAdapter
-
-
Method Details
-
getBasePath
Description copied from interface:ApplicationAdapter
Returns the base path that the current application is mapped to.- Specified by:
getBasePath
in interfaceApplicationAdapter
- Returns:
- the base path for the current application
-
getBasePathString
Description copied from interface:ApplicationAdapter
Returns the base path that the current application is mapped to.- Specified by:
getBasePathString
in interfaceApplicationAdapter
- Returns:
- the base path for the current application
-
getRealPath
Description copied from interface:ApplicationAdapter
Returns the real file system path for a given virtual path relative to the base path of the current application.- Specified by:
getRealPath
in interfaceApplicationAdapter
- Parameters:
path
- the virtual path to be translated to a real path- Returns:
- the real path
-