|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.workshop.controls.core.ControlsFileUtil
public class ControlsFileUtil
Utility methods for dealing with controls files and content types.
| Field Summary | |
|---|---|
static String |
CONTROL_EXTENSION_CONTENT_TYPE
content type for control extension classes |
static String |
CONTROL_IMPLEMENTATION_CONTENT_TYPE
content type for control implementation classes |
static String |
CONTROL_INTERFACE_CONTENT_TYPE
content type for control interface classes |
| Constructor Summary | |
|---|---|
ControlsFileUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
isControlExtension(IFile aFile)
Checks whether the primary type in the file is a ControlExtension as defined by the content type of the file. |
static boolean |
isControlExtension(IType aType)
Checks whether the given type is a ControlExtension as defined by the content type of the file. |
static boolean |
isControlImplementation(IFile aFile)
Checks whether the primary type in the file is a ControlImplementationas defined by the content type of the file. |
static boolean |
isControlImplementation(IType aType)
Checks whether the given type is a ControlImplementation as defined by the content type of the file. |
static boolean |
isControlInterface(IFile aFile)
Checks whether the primary type in the file is a ControlInterface as defined by the content type of the file. |
static boolean |
isControlInterface(IType aType)
Checks whether the given type is a ControlInterface as defined by the content type of the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONTROL_INTERFACE_CONTENT_TYPE
public static final String CONTROL_EXTENSION_CONTENT_TYPE
public static final String CONTROL_IMPLEMENTATION_CONTENT_TYPE
| Constructor Detail |
|---|
public ControlsFileUtil()
| Method Detail |
|---|
public static boolean isControlExtension(IType aType)
public static boolean isControlExtension(IFile aFile)
aFile - public static boolean isControlImplementation(IFile aFile)
aFile - public static boolean isControlImplementation(IType aType)
aFile - public static boolean isControlInterface(IFile aFile)
aFile - public static boolean isControlInterface(IType aType)
aFile -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||