Class UserInterfaceParser
- java.lang.Object
-
- net.sf.antcontrib.cpptasks.trolltech.UserInterfaceParser
-
- All Implemented Interfaces:
Parser
public final class UserInterfaceParser extends java.lang.Object implements Parser
Dependency scanner for Trolltech Qt User Interface definition files. .ui files are XML documents that may contain an include elements, however the includes are just copied to the generated files and and changes to the includes do not need to trigger rerunning uic.- Author:
- Curt Arnold
-
-
Constructor Summary
Constructors Constructor Description UserInterfaceParser()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFilename(java.lang.String include)Adds filename to the list of included files.java.lang.String[]getIncludes()Gets included files.voidparse(java.io.Reader reader)Parses source file for dependencies.
-
-
-
Method Detail
-
addFilename
public void addFilename(java.lang.String include)
Adds filename to the list of included files.- Parameters:
include- String included file name
-
getIncludes
public java.lang.String[] getIncludes()
Gets included files.- Specified by:
getIncludesin interfaceParser- Returns:
- String[] included files
-
-