public class WizardFile
extends java.lang.Object
Constructor and Description |
---|
WizardFile() |
WizardFile(java.lang.String className,
java.lang.String packageName,
java.lang.String basePath) |
Modifier and Type | Method and Description |
---|---|
boolean |
classExistsInProject(Project project) |
boolean |
equals(java.lang.Object anObject) |
boolean |
fileExists() |
java.lang.String |
getBasePath() |
java.lang.String |
getClassName() |
java.io.File |
getFile() |
java.lang.String |
getFullPath() |
java.lang.String |
getPackageName() |
java.lang.String |
getQualifiedClassName() |
JavaSourceNode |
getSourceNode(Project project) |
boolean |
isClassNameValid() |
boolean |
isClassNameValid(boolean isQualified) |
static boolean |
isClassNameValid(java.lang.String className) |
static boolean |
isClassNameValid(java.lang.String className,
boolean isQualified) |
boolean |
isPackageNameValid() |
static boolean |
isPackageNameValid(java.lang.String packageName) |
boolean |
isValid() |
void |
setBasePath(java.lang.String basePath) |
void |
setClassName(java.lang.String className) |
void |
setDefaultClassName(Project project,
java.lang.String prefix) |
void |
setDefaultClassName(Project project,
java.lang.String prefix,
java.lang.String suffix) |
void |
setPackageName(java.lang.String packageName) |
java.lang.String |
toString() |
boolean |
verifyFilePath() |
public WizardFile()
public WizardFile(java.lang.String className, java.lang.String packageName, java.lang.String basePath)
public boolean isValid()
public boolean isClassNameValid()
public boolean isClassNameValid(boolean isQualified)
public static boolean isClassNameValid(java.lang.String className)
public static boolean isClassNameValid(java.lang.String className, boolean isQualified)
public boolean isPackageNameValid()
public static boolean isPackageNameValid(java.lang.String packageName)
public boolean fileExists()
public boolean classExistsInProject(Project project)
public JavaSourceNode getSourceNode(Project project)
public void setDefaultClassName(Project project, java.lang.String prefix, java.lang.String suffix)
public void setDefaultClassName(Project project, java.lang.String prefix)
public void setClassName(java.lang.String className)
public java.lang.String getClassName()
public void setPackageName(java.lang.String packageName)
public java.lang.String getPackageName()
public java.lang.String getQualifiedClassName()
public void setBasePath(java.lang.String basePath)
public java.lang.String getBasePath()
public java.lang.String getFullPath()
public java.io.File getFile()
public boolean verifyFilePath()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object anObject)
equals
in class java.lang.Object