+}
+#define MAX_SEQUENCE_LENGTH 30000
+/* Writing Functions */
+static void
+string_write_java(struct SResource *res,UErrorCode *status) {
+ if(res->fKey > 0 && uprv_strcmp(srBundle->fKeys+res->fKey,"%%UCARULES")==0 ){
+
+ const char* file = "UCARules.utf8";
+ write_utf8_file(res, file, status);
+ }else if(res->fKey > 0 && uprv_strcmp(srBundle->fKeys+res->fKey,"Sequence")==0
+ && res->fType == RES_STRING
+ && res->u.fString.fLength > MAX_SEQUENCE_LENGTH){
+ char file[1024] = {0};
+ uprv_strcpy(file, "CollationSequence_");
+ uprv_strcat(file, srBundle->fLocale);
+ uprv_strcat(file, ".utf8");
+ write_utf8_file(res, file, status);
+