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.
-
-
Constructor Summary
Constructors Constructor Description UserInterfaceParser()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFilename(java.lang.String include)
Adds filename to the list of included files.java.lang.String[]
getIncludes()
Gets included files.void
parse(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:
getIncludes
in interfaceParser
- Returns:
- String[] included files
-
-