]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/FileArg.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / FileArg.java
1 /** @file
2 This file is used to nest elements which is meant for file path
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14 package org.tianocore.framework.tasks;
15
16 /**
17 FileArg class is defined to represent tool's argument which specifies file path.
18 **/
19 public class FileArg extends ToolArg {
20 /**
21 Default constructor
22 **/
23 public FileArg() {
24 }
25
26 /**
27 Constructor which accepts argument prefix and its value as parameters
28
29 @param prefix The prefix of argument
30 @param value The value of argument
31 **/
32 public FileArg(String prefix, String value) {
33 super(prefix);
34 this.setValue(value);
35 }
36
37 /**
38 Set the prefix and value of an argument
39
40 @param prefix The prefix of argument
41 @param value The value of argument
42 **/
43 public void setArg(String prefix, String value) {
44 super.setPrefix(prefix);
45 this.setValue(value);
46 }
47
48 /**
49 Set the value of an argument
50
51 @param value The value of the argument
52 **/
53 public void setValue(String value) {
54 super.setFile(value);
55 }
56
57 /**
58 Add a value of an argument
59
60 @param value The value of the argument
61 **/
62 public void insValue(String value) {
63 super.insFile(value);
64 }
65 }