public class CmsCopyPageDialog.TargetInfo extends java.lang.Object
| Constructor and Description |
|---|
TargetInfo(CmsObject cms,
java.lang.String path)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
CmsResource |
getTargetFolder()
Gets the target folder resource, or null if no target folder could be determined.
|
java.lang.String |
getTargetName()
Gets the target name, or null if only the target folder was given in the target select widget.
|
boolean |
isFile()
Returns true if the target path or its parent is actually a file.
|
boolean |
isValid()
Returns true if the target folder could be determined from the target path.
|
public TargetInfo(CmsObject cms, java.lang.String path)
cms - the CMS context to usepath - the target path to analyzepublic CmsResource getTargetFolder()
public java.lang.String getTargetName()
public boolean isFile()
public boolean isValid()