Java Reference
In-Depth Information
Table 13.3
Macros enable contextual scripting of repeatable operations.
Category
Macro
Description
Project Settings
ProjectFileDir
Project file's directory
ProjectFilePath
Absolute path of the project file
ProjectName
Name of the project file without an extension
Project's content paths
Projectpath
JavaDoc output directory
JavaDocPath
Project's Classpath
Classpath
Home directory of the project's JDK
JDKPath
Output path for compiled classes
OutputPath
Project's source paths
Sourcepath
Selected/
Current File
Fully qualified class name of the selected file
FileClass
FileDir
Absolute path of the selected file's directory
FileDirRelative-
ToProjectRoot
Path of the selected file's directory, relative to the project
root
FileDirRelative-
ToSourcepath
Path of the selected file's directory, relative to its
sourcepath's root
FileExt
Selected file's extension
Selected file's name, including any extension
FileName
Selected file's name, minus any extension
FileNameWithout-
Extension
File's package
FilePackage
Absolute path of the selected file
FilePath
Path of the selected file, relative to the project root
FilePathRelative-
ToProjectRoot
Path of the selected file, relative to the its sourcepath's
root
FilePathRelative-
ToSourcepath
FileRelativeDir
Selected file's directory, relative to the project root
ClasspathEntry
Entry in the Classpath that the selected file belongs to
SourcepathEntry
Entry in the sourcepath that the selected file belongs to
continued on next page
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Search WWH ::




Custom Search