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 WXMVirtualMachineParserTypecreate(java.nio.file.FileSystem fileSystem, java.net.URI uri, java.io.InputStream stream, java.util.function.Consumer<WXMParseError> errors)Create a new parser.
-
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.IOExceptionDescription copied from interface:WXMParserProviderTypeCreate a new parser.- Specified by:
createin interfaceWXMParserProviderType<WXMVirtualMachineSet>- Parameters:
fileSystem- The filesystem used to create new paths, if necessaryuri- The source URIstream- The source streamerrors- A receiver of parse errors- Returns:
- A new parser
- Throws:
java.io.IOException- On I/O errors
-