]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Java / Source / ContextTool / org / tianocore / context / ContextMain.java
diff --git a/Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java b/Tools/Java/Source/ContextTool/org/tianocore/context/ContextMain.java
new file mode 100644 (file)
index 0000000..ec2e5b9
--- /dev/null
@@ -0,0 +1,29 @@
+/** @file\r
+  File is ContextMain class . \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
+package org.tianocore.context;\r
+\r
+public class ContextMain {\r
+    \r
+    public static void main(String[] args) {\r
+\r
+        if(ParseParameter.checkParameter(args) == false){\r
+            System.exit(0);\r
+        }\r
+\r
+        if (TargetFile.parsePath("target.txt") == false) {\r
+            System.exit(0);\r
+        }\r
+        \r
+        System.out.printf("%n%s", "Target.txt generate successfully!");\r
+    }\r
+}\r