Class UserInterfaceParser

java.lang.Object
net.sf.antcontrib.cpptasks.trolltech.UserInterfaceParser
All Implemented Interfaces:
Parser

public final class UserInterfaceParser extends 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 Details

    • UserInterfaceParser

      public UserInterfaceParser()
      Constructor.
  • Method Details

    • addFilename

      public void addFilename(String include)
      Adds filename to the list of included files.
      Parameters:
      include - String included file name
    • getIncludes

      public String[] getIncludes()
      Gets included files.
      Specified by:
      getIncludes in interface Parser
      Returns:
      String[] included files
    • parse

      public void parse(Reader reader) throws IOException
      Parses source file for dependencies.
      Specified by:
      parse in interface Parser
      Parameters:
      reader - Reader reader
      Throws:
      IOException - if error reading source file