--- /dev/null
+/** @file\r
+This file is used to nest elements which is meant for file path\r
+\r
+Copyright (c) 2006, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+package org.tianocore.framework.tasks;\r
+\r
+/**\r
+ FileArg class is defined to represent tool's argument which specifies file path.\r
+ **/\r
+public class FileArg extends ToolArg {\r
+ /**\r
+ Default constructor\r
+ **/\r
+ public FileArg() {\r
+ }\r
+\r
+ /**\r
+ Constructor which accepts argument prefix and its value as parameters\r
+\r
+ @param prefix The prefix of argument\r
+ @param value The value of argument\r
+ **/\r
+ public FileArg(String prefix, String value) {\r
+ super(prefix);\r
+ this.setValue(value);\r
+ }\r
+\r
+ /**\r
+ Set the prefix and value of an argument\r
+\r
+ @param prefix The prefix of argument\r
+ @param value The value of argument \r
+ **/\r
+ public void setArg(String prefix, String value) {\r
+ super.setPrefix(prefix);\r
+ this.setValue(value);\r
+ }\r
+\r
+ /**\r
+ Set the value of an argument\r
+\r
+ @param value The value of the argument\r
+ **/\r
+ public void setValue(String value) {\r
+ super.setFile(value);\r
+ }\r
+\r
+ /**\r
+ Add a value of an argument\r
+\r
+ @param value The value of the argument\r
+ **/\r
+ public void insValue(String value) {\r
+ super.insFile(value);\r
+ }\r
+}\r