Package gw.lang
Class ProgramFileContext
- java.lang.Object
-
- gw.lang.ProgramFileContext
-
- All Implemented Interfaces:
IFileContext
public class ProgramFileContext extends Object implements IFileContext
-
-
Constructor Summary
Constructors Constructor Description ProgramFileContext(File file, String fqn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
String
getContextString()
String
getFilePath()
-
-
-
Method Detail
-
getContextString
public String getContextString()
- Specified by:
getContextString
in interfaceIFileContext
- Returns:
- Some additional contextual information about the place within a file that this program is located (e.g. an attribute in an XML file)
-
getClassName
public String getClassName()
- Specified by:
getClassName
in interfaceIFileContext
- Returns:
- a class name that uniquely represents this file context when combined with the context string above.
-
getFilePath
public String getFilePath()
- Specified by:
getFilePath
in interfaceIFileContext
- Returns:
- the full path
-
-