com.alveole.studio.web.managers.urls
Class StaticFileUrlManager

java.lang.Object
  extended by com.alveole.studio.web.managers.urls.StaticFileUrlManager
All Implemented Interfaces:
UrlManager

public class StaticFileUrlManager
extends java.lang.Object
implements UrlManager

Default URL manager implementation for static files.

Author:
sylvain

Constructor Summary
StaticFileUrlManager(NodeView staticFileView)
          Constructor.
 
Method Summary
 java.lang.String getContextRelativeFwdUrl()
          Get context relative path.
 java.lang.String getContextRelativePath()
          Get context relative path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticFileUrlManager

public StaticFileUrlManager(NodeView staticFileView)
Constructor.

Parameters:
staticFileView - The target static file view.
Method Detail

getContextRelativePath

public java.lang.String getContextRelativePath()
Get context relative path.

Specified by:
getContextRelativePath in interface UrlManager
Returns:
the path.

getContextRelativeFwdUrl

public java.lang.String getContextRelativeFwdUrl()
Get context relative path.

Specified by:
getContextRelativeFwdUrl in interface UrlManager
Returns:
The path.