/** @file\r
ToolChainConfig class.\r
- \r
+\r
ToolChainFactory class parse all config files and get tool chain information.\r
- \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
package org.tianocore.build.toolchain;\r
\r
import org.apache.tools.ant.BuildException;\r
-import org.tianocore.exception.EdkException;\r
+\r
+import org.tianocore.common.exception.EdkException;\r
import org.tianocore.build.toolchain.ToolChainKey;\r
import org.tianocore.build.toolchain.ToolChainMap;\r
\r
\r
\r
/**\r
- \r
+\r
ToolChainFactory class parse all config files and get tool chain information.\r
- \r
+\r
**/\r
public class ToolChainConfig {\r
///\r
private ToolChainMap config = null;\r
///\r
/// tool chain information (how many targets, archs, etc.)\r
- /// \r
+ ///\r
private ToolChainInfo info = new ToolChainInfo();\r
\r
/**\r
\r
/**\r
Public construct method.\r
- \r
+\r
@param toolChainFile File object representing the tool chain configuration file\r
**/\r
public ToolChainConfig (File toolChainFile) {\r
/**\r
Collect target, tool chain tag, arch and command information from key part\r
of configuration\r
- \r
+\r
@param toolChainDefKey The set of keys in tool chain configuration\r
**/\r
private void parseToolChainDefKey (Set<ToolChainKey> toolChainDefKey) {\r
}\r
\r
/**\r
- Return the tool chain configuration information in a Map form \r
- \r
+ Return the tool chain configuration information in a Map form\r
+\r
@return ToolChainMap Tool chain configurations in a ToolChainMap\r
**/\r
public ToolChainMap getConfig() {\r
\r
/**\r
Return the tool chain's target, arch, tag and commands information\r
- \r
+\r
@return ToolChainInfo\r
**/\r
public ToolChainInfo getConfigInfo() {\r
\r
/**\r
override toString()\r
- \r
+\r
@return String The converted configuration string in name=value form\r
**/\r
public String toString() {\r