public class DirectIoPath extends Object
Constructor and Description |
---|
DirectIoPath(DataSourceInfo source,
BasePath basePath,
FilePattern resourcePattern)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getBarePath()
Returns the bare path.
|
BasePath |
getBasePath()
Returns the base path including the container data source path.
|
BasePath |
getComponentPath()
Returns the component base path.
|
BasePath |
getContainerPath()
Returns the container path.
|
Optional<FilePattern> |
getResourcePattern()
Returns the resource pattern.
|
DataSourceInfo |
getSource()
Returns the container data source information.
|
boolean |
isComponentRoot()
Returns whether this represents the root path of the container.
|
boolean |
isRoot()
Returns whether this represents the root path.
|
String |
toString() |
public DirectIoPath(DataSourceInfo source, BasePath basePath, FilePattern resourcePattern)
source
- the container data sourcebasePath
- the base pathresourcePattern
- the resource pattern (nullable)public boolean isRoot()
true
if this represents the root pathpublic DataSourceInfo getSource()
public BasePath getBasePath()
public Optional<FilePattern> getResourcePattern()
public BasePath getContainerPath()
public BasePath getComponentPath()
public boolean isComponentRoot()
true
if this represents the root pathpublic String getBarePath()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.