Exemplo n.º 1
0
  /**
   * Creates an instance of the module in order to process the given file.
   *
   * @param context A Context instance containing some global configuration.
   */
  public Module(Context context) {
    mContext = context;
    mDoc = new Doc(this);
    mHeader = new ReportHeader(this);
    mHeader.add(buildLinkToOwnLog());
    mDoc.addChapter(mHeader);

    // Load internal plugins
    loadPlugins();

    // Load external plugins
    loadExternalPlugins();
  }