# Class MWiXWriter

java.lang.Object
com.io7m.montarre.nativepack.internal.MWiXWriter

All Implemented Interfaces:
  `MWiXWriterType`, `AutoCloseable`

public final class MWiXWriter extends Object implements MWiXWriterType
A WiX writer.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MWiXWriter(MPackageDeclaration inPack, Path inDirectory, OutputStream inOutput)`
  A WiX writer.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `void`
  `execute()`
  Execute the writer.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MWiXWriter

    public MWiXWriter(MPackageDeclaration inPack, Path inDirectory, OutputStream inOutput)
    A WiX writer.
    Parameters:
      `inPack` - The package
      `inDirectory` - The input directory
      `inOutput` - The output

- ## Method Details

  - ### execute

    public void execute() throws MException
    Description copied from interface: `MWiXWriterType`
    Execute the writer.
    Specified by:
      `execute` in interface `MWiXWriterType`
    Throws:
      `MException` - On errors

  - ### close

    public void close()
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `MWiXWriterType`