Package com.io7m.waxmill.parser.api

# Interface WXMVirtualMachineParserProviderType

All Superinterfaces:
  `WXMParserProviderType<WXMVirtualMachineSet>`

All Known Implementing Classes:
  `WXMVirtualMachineParsers`

    public interface WXMVirtualMachineParserProviderType
    extends WXMParserProviderType<WXMVirtualMachineSet>

A provider of virtual machine parsers.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `WXMVirtualMachineParserType` | `create​(java.nio.file.FileSystem fileSystem, java.net.URI uri, java.io.InputStream stream, java.util.function.Consumer<WXMParseError> errors)` | Create a new parser.

  ### Methods inherited from interface com.io7m.waxmill.parser.api.WXMParserProviderType

  `parse`

- ## Method Details

  - ### create

    WXMVirtualMachineParserType create​(java.nio.file.FileSystem fileSystem, java.net.URI uri, java.io.InputStream stream, java.util.function.Consumer<WXMParseError> errors) throws java.io.IOException
    Description copied from interface: `WXMParserProviderType`
    Create a new parser.
    Specified by:
      `create` in interface `WXMParserProviderType<WXMVirtualMachineSet>`
    Parameters:
      `fileSystem` - The filesystem used to create new paths, if necessary
      `uri` - The source URI
      `stream` - The source stream
      `errors` - A receiver of parse errors
    Returns:
      A new parser
    Throws:
      `java.io.IOException` - On I/O errors