001/* 002 * To change this template, choose Tools | Templates 003 * and open the template in the editor. 004 */ 005package org.anarres.qemu.exec; 006 007import java.io.File; 008import java.util.List; 009import javax.annotation.Nonnull; 010 011/** 012 * 013 * @author shevek 014 */ 015public class QEmuBiosOption extends AbstractQEmuOption { 016 017 private final File file; 018 019 public QEmuBiosOption(@Nonnull File file) { 020 this.file = file; 021 } 022 023 public QEmuBiosOption(@Nonnull String path) { 024 this(new File(path)); 025 } 026 027 @Override 028 public void appendTo(List<? super String> line) { 029 add(line, "-bios", file.getAbsolutePath()); 030 } 031}