ICU-1992 data loading (.dat -> .icu)

X-SVN-Rev: 9232
This commit is contained in:
Steven R. Loomis 2002-07-17 19:23:26 +00:00
parent a1b4974182
commit 3ddea88fec
7 changed files with 10 additions and 9 deletions

View file

@ -21,7 +21,7 @@
* compact binary tables for random-access lookup
* in a u_charName() API function.
*
* unames.dat file format (after UDataInfo header etc. - see udata.c)
* unames.icu file format (after UDataInfo header etc. - see udata.c)
* (all data is static const)
*
* UDataInfo fields:
@ -141,7 +141,7 @@
#define MAX_GROUP_COUNT 5000
#define DATA_NAME "unames"
#define DATA_TYPE "dat"
#define DATA_TYPE "icu"
#define VERSION_STRING "unam"
#define NAME_SEPARATOR_CHAR ';'

View file

@ -22,7 +22,7 @@
/* file definitions */
#define DATA_NAME "unorm"
#define DATA_TYPE "dat"
#define DATA_TYPE "icu"
/*
* data structure that holds the normalization properties for one or more

View file

@ -38,7 +38,7 @@
/*
* The new implementation of the normalization code loads its data from
* unorm.dat, which is generated with this gennorm tool.
* unorm.icu, which is generated with this gennorm tool.
* The format of that file is described in unormimp.h .
*/

View file

@ -22,7 +22,7 @@
/* file definitions */
#define DATA_NAME "uprops"
#define DATA_TYPE "dat"
#define DATA_TYPE "icu"
/* special casing data */
typedef struct {

View file

@ -133,8 +133,9 @@ main(int argc,
fprintf(stderr,
"\t-j or --write-java write a Java ListResourceBundle for ICU4J, followed by optional encoding\n"
"\t defaults to ASCII and \\uXXXX format.\n"
"\t-p or --package-name package name for writing the ListResourceBundle for ICU4J, defaults to\n"
"\t-p or --package-name For ICU4J: package name for writing the ListResourceBundle for ICU4J, defaults to\n"
"\t com.ibm.icu.impl.data\n"
"\t For ICU4C: Package name on output. Using 'ICUDATA' defaults to the current ICU4C data name.\n"
"\t-b or --bundle-name bundle name for writing the ListResourceBundle for ICU4J, defaults to\n"
"\t LocaleElements");

View file

@ -28,7 +28,7 @@
#define DATA_PKG "testdata"
#define DATA_NAME "test"
#define DATA_TYPE "dat"
#define DATA_TYPE "icu"
/* UDataInfo cf. udata.h */
static const UDataInfo dataInfo={

View file

@ -37,7 +37,7 @@
#include "tzdat.h"
#define INPUT_FILE "tz.txt"
#define OUTPUT_FILE "tz.dat"
#define OUTPUT_FILE "tz.icu"
/* UDataInfo cf. udata.h */
static UDataInfo dataInfo = {
@ -87,7 +87,7 @@ class gentz {
char buffer[BUFLEN];
int32_t lineNumber;
// Binary data that we construct from tz.txt and write out as tz.dat
// Binary data that we construct from tz.txt and write out as tz.icu
TZHeader header;
TZEquivalencyGroup* equivTable;
OffsetIndex* offsetIndex;