blob: 18c717c142dbb7d01c7ae5f11d3c26003a91b933 [file] [log] [blame]
/*
*******************************************************************************
* Copyright (C) 1998-2004, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
package com.ibm.icu.dev.tool.layout;
public class ScriptNameBuilder
{
/*
* This tool builds the script related header files and data tables needed by
* the ICU LayoutEngine. By using the ICU4J interfaces to access the script
* information, we can be sure that the data written by this tool is in synch
* with ICU.
*/
public static void main(String[] args)
{
ScriptData scriptData = new ScriptData();
LanguageData languageData = new LanguageData();
ScriptIDModuleWriter scriptIDModuleWriter = new ScriptIDModuleWriter(scriptData, languageData);
scriptIDModuleWriter.writeScriptHeader("LEScripts.h");
scriptIDModuleWriter.writeLanguageHeader("LELanguages.h");
ScriptTagModuleWriter scriptTagModuleWriter = new ScriptTagModuleWriter(scriptData, languageData);
scriptTagModuleWriter.writeScriptTags("ScriptAndLanguageTags");
ScriptRunModuleWriter scriptRunModuleWriter = new ScriptRunModuleWriter(scriptData);
scriptRunModuleWriter.writeScriptRuns("ScriptRunData.cpp");
}
}