Package | Description |
---|---|
com.github.wuic.path |
This package defines the contracts and abstractions of those contracts of a little API designed by WUIC to resolve
path navigation.
|
com.github.wuic.path.core |
This package defines core implementation of the path API to resolve a hierarchical path with each element
corresponding to either a path, a directory, a ZIP archive or an entry of a ZIP archive.
|
com.github.wuic.servlet.path |
This package provides webapp support for
Path manipulations. |
com.github.wuic.util |
Utility package where helper methods are defined.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DirectoryPath
This interface represents a path which is a directory.
|
interface |
FilePath
This interface represents a path which is a file.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDirectoryPath
Abstract implementation of a
DirectoryPath . |
Modifier and Type | Method and Description |
---|---|
protected abstract Path |
AbstractDirectoryPath.buildChild(String child)
Builds the path corresponding to the given direct child name of this directory.
|
Path |
DirectoryPath.getChild(String path)
Gets the
Path corresponding to the given String which should be interpreted relatively to
this directory. |
Path |
AbstractDirectoryPath.getChild(String path)
Gets the
Path corresponding to the given String which should be interpreted relatively to
this directory. |
Modifier and Type | Class and Description |
---|---|
class |
FsDirectoryPath
This
DirectoryPath representes a directory on the path system. |
class |
FsFilePath
This
FilePath represents a path on the path system. |
class |
SimplePath
Simple implementation of a
Path . |
class |
VirtualDirectoryPath
This virtual
DirectoryPath is based on a several other DirectoryPath and proxy method call to them
when VirtualDirectoryPath.getChild(String) VirtualDirectoryPath.list() , VirtualDirectoryPath.getLastUpdate() are called. |
class |
ZipDirectoryPath
This class represents
DirectoryPath for ZIP archives. |
class |
ZipEntryDirectoryPath
This
DirectoryPath represents an entry inside a ZIP archive identified as a directory. |
class |
ZipEntryFilePath
This
FilePath represents an entry inside a ZIP archive identified as a path. |
class |
ZipEntryPath
This
Path represents an entry inside a ZIP archive. |
class |
ZipFilePath
This class represents a path which could be considered as a
FilePath and as a DirectoryPath with a
ZIP archive behind the scene. |
Modifier and Type | Method and Description |
---|---|
protected Path |
ZipDirectoryPath.buildChild(String child)
Builds the path corresponding to the given direct child name of this directory.
|
protected Path |
FsDirectoryPath.buildChild(String child)
Builds the path corresponding to the given direct child name of this directory.
|
Path |
VirtualDirectoryPath.getChild(String path)
Gets the
Path corresponding to the given String which should be interpreted relatively to
this directory. |
Modifier and Type | Class and Description |
---|---|
class |
WebappDirectoryPath
Represents a directory in the war file.
|
class |
WebappFilePath
Represents a file in the war file.
|
Modifier and Type | Method and Description |
---|---|
protected Path |
WebappDirectoryPath.buildChild(String child)
Builds the path corresponding to the given direct child name of this directory.
|
Modifier and Type | Method and Description |
---|---|
static Path |
IOUtils.buildPath(String path)
Returns a hierarchy of
paths represented by the given String . |
static Path |
IOUtils.buildPath(String path,
DirectoryPathFactory factory)
Returns a hierarchy of
paths represented by the given String . |
Copyright © 2012-2015. All Rights Reserved.