/*
*******************************************************************************
*
-* Copyright (C) 2000-2009, International Business Machines
+* Copyright (C) 2000-2012, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
#include "unicode/ucnv.h"
#include "genrb.h"
#include "rle.h"
-#include "ucol_tok.h"
#include "uhash.h"
#include "uresimp.h"
#include "unicode/ustring.h"
static FileStream* out=NULL;
static struct SRBRoot* srBundle ;
-static const char* outDir = NULL;
+/*static const char* outDir = NULL;*/
static const char* bName=NULL;
static const char* pName=NULL;
uint32_t i = 0;
const char* arr ="new String[] { \n";
struct SResource *current = NULL;
- struct SResource *first =NULL;
- UBool decrementTabs = FALSE;
UBool allStrings = TRUE;
if (U_FAILURE(*status)) {
write_tabs(out);
T_FileStream_write(out, object, (int32_t)uprv_strlen(object));
tabCount++;
- decrementTabs = TRUE;
}else{
write_tabs(out);
T_FileStream_write(out, arr, (int32_t)uprv_strlen(arr));
tabCount++;
}
- first=current;
while (current != NULL) {
/*if(current->fType==URES_STRING){
write_tabs(out);
static void
table_write_java(struct SResource *res, UErrorCode *status) {
uint32_t i = 0;
- UBool allStrings =TRUE;
struct SResource *current = NULL;
- struct SResource *save = NULL;
const char* obj = "new Object[][]{\n";
if (U_FAILURE(*status)) {
tabCount++;
}
start = FALSE;
- save = current = res->u.fTable.fFirst;
+ current = res->u.fTable.fFirst;
i = 0;
tabCount++;
- allStrings=FALSE;
write_tabs(out);
if(currentKeyString != NULL) {
char className[256]={'\0'};
/*char constructor[1000] = { 0 };*/
/*UBool j1 =FALSE;*/
- outDir = outputDir;
+ /*outDir = outputDir;*/
start = TRUE; /* Reset the start indictor*/