| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface IdeProjecrNode represents a file or a directory in Together project.
If this project node is a directory then it can contain other files or directories.
| Method Summary | |
IdeProjectNodeEnumeration | children()Returns an enumeration of sub IdeProjectNodes for this node. |
String | getAbsoluteFileName()Returns the string that contain fully qualified name of this IdeProjectNode. |
String | getAccess()Returns the string with the kind of access to this IdeProjectNode. |
String | getFileName()Returns the string with the name of this IdeProjectNode. |
String | getFileType()Returns a string that contains file type for this IdeProjectNode. |
String | getLanguage()Returns the string with the name of a programming lagnuage for this IdeProjectNode. |
String | getPackagePrefix()Returns the string with a name of a package where this IdeProjectNode belongs. |
IdeProjectNode | getParent()Returns the IdeProjectNode this IdeProjectNode belongs to. |
IdeProject | getProject()Returns the IdeProject where this IdeProjectNode belongs. |
String | getProperty(String key)Returns the string value of the specified property. |
String | getProperty(String key, String defValue)Gets the property value for the specified key, or returns specified default
value, if such property is not found. |
boolean | isDirectory()Checks whether this IdeProjectNode is a directory. |
StringEnumeration | writableFileTypes()Returns an enumeration of strings containing the names of writable file types. |
| Method Detail |
public IdeProjectNodeEnumeration children()
IdeProjectNodes for this node.IdeProjectNodes for this nodepublic String getAbsoluteFileName()
IdeProjectNode.String with the full name of this IdeProjectNodepublic String getAccess()
IdeProjectNode. The predefined values
IdeProjectConstant interface.String type of access to this IdeProjectNodepublic String getFileName()
IdeProjectNode.String name of this IdeProjectNodepublic String getFileType()
IdeProjectNode. If this
IdeProjectNode is a directory then this method returns null.
The file type represents the kind of files that carry similar context:
for example, java_files file type is a type of all java files (*.java and *.class).
These file types are defined in filetype.config file in Together's config directory.
public String getLanguage()
IdeProjectNode. The
SciLanguage interface.SciLanguagepublic String getPackagePrefix()
IdeProjectNode belongs.
String with a name of the package where this IdeProjectNode belongspublic IdeProjectNode getParent()
IdeProjectNode this IdeProjectNode belongs to.
IdeProjectNode then returns null.IdeProjectNode this IdeProjectNode belongs topublic IdeProject getProject()
IdeProject where this IdeProjectNode belongs.IdeProject for this IdeProjectNodepublic String getProperty(String key)
String key of the property to be retreivedString value of this property, or null if there is no such property.public String getProperty(String key, String defValue)
key, or returns specified default
String key for the property in questionString value which will be returned if such property is not found.public boolean isDirectory()
IdeProjectNode is a directory.true if this IdeProjectNode is a directory, false if it is a filepublic StringEnumeration writableFileTypes()
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||