Class AbstractApplicationAdapter

java.lang.Object
com.aspectran.core.adapter.AbstractApplicationAdapter
All Implemented Interfaces:
ApplicationAdapter
Direct Known Subclasses:
DefaultApplicationAdapter

public abstract class AbstractApplicationAdapter extends Object implements ApplicationAdapter
The Class AbstractApplicationAdapter.
Since:
2011. 3. 13.
  • Constructor Details

    • AbstractApplicationAdapter

      public AbstractApplicationAdapter(String basePath)
  • Method Details

    • getBasePath

      public Path getBasePath()
      Description copied from interface: ApplicationAdapter
      Returns the base path that the current application is mapped to.
      Specified by:
      getBasePath in interface ApplicationAdapter
      Returns:
      the base path for the current application
    • getBasePathString

      public String getBasePathString()
      Description copied from interface: ApplicationAdapter
      Returns the base path that the current application is mapped to.
      Specified by:
      getBasePathString in interface ApplicationAdapter
      Returns:
      the base path for the current application
    • getRealPath

      public Path getRealPath(String path)
      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 interface ApplicationAdapter
      Parameters:
      path - the virtual path to be translated to a real path
      Returns:
      the real path