public class WebappDirectoryPathFactory extends Object implements DirectoryPathFactory
DirectoryPathFactory
in charge of creating new WebappDirectoryPath
.
Constructor and Description |
---|
WebappDirectoryPathFactory(ServletContext ctx)
Creates a new instance.
|
public WebappDirectoryPathFactory(ServletContext ctx)
Creates a new instance.
ctx
- the servlet context used to create WebappDirectoryPath
public DirectoryPath create(String path)
Creates a directory path without any parent (root direcrory).
create
in interface DirectoryPathFactory
path
- the string representation of this directoryCopyright © 2012-2015. All Rights Reserved.