ICU-95
* Shifted unames.dat, uprops.dat to resources. * Updated UCharacter*DB.java to reflect the shift. * Updated build.xml to reflect the shift. X-SVN-Rev: 6345
This commit is contained in:
parent
ef3783ce53
commit
c0fbeab328
6
.gitattributes
vendored
6
.gitattributes
vendored
@ -85,6 +85,8 @@ icu4j/src/com/ibm/icu/dev/data/rbbi/english.dict -text
|
||||
icu4j/src/com/ibm/icu/dev/data/thai6.ucs -text
|
||||
icu4j/src/com/ibm/icu/dev/data/unicode/Draft-TestSuite.txt -text
|
||||
icu4j/src/com/ibm/icu/impl/data/thai_dict -text
|
||||
icu4j/src/com/ibm/icu/impl/data/unames.dat -text
|
||||
icu4j/src/com/ibm/icu/impl/data/uprops.dat -text
|
||||
icu4j/src/com/ibm/text/resources/Transliterator_Fullwidth_Halfwidth.utf8.txt -text
|
||||
icu4j/src/com/ibm/text/resources/Transliterator_Han_Pinyin.utf8.txt -text
|
||||
icu4j/src/com/ibm/text/resources/Transliterator_Hiragana_Katakana.utf8.txt -text
|
||||
@ -92,8 +94,8 @@ icu4j/src/com/ibm/text/resources/Transliterator_Kanji_English.utf8.txt -text
|
||||
icu4j/src/com/ibm/text/resources/Transliterator_Kanji_OnRomaji.utf8.txt -text
|
||||
icu4j/src/com/ibm/text/resources/Transliterator_Latin_Jamo.utf8.txt -text
|
||||
icu4j/src/com/ibm/text/resources/thai_dict -text
|
||||
icu4j/src/com/ibm/text/unames.dat -text
|
||||
icu4j/src/com/ibm/text/uprops.dat -text
|
||||
icu4j/src/com/ibm/text/resources/unames.dat -text
|
||||
icu4j/src/com/ibm/text/resources/uprops.dat -text
|
||||
icu4j/src/data/holidays_jp.ucs -text
|
||||
icu4j/src/data/thai6.ucs -text
|
||||
icu4j/src/data/unicode/Draft-TestSuite.txt -text
|
||||
|
@ -6,8 +6,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/build.xml,v $
|
||||
* $Date: 2001/10/19 20:53:54 $
|
||||
* $Revision: 1.36 $
|
||||
* $Date: 2001/10/19 22:15:37 $
|
||||
* $Revision: 1.37 $
|
||||
*
|
||||
*******************************************************************************
|
||||
* This is the ant build file for ICU4J. See readme.html for more information.
|
||||
@ -94,11 +94,7 @@
|
||||
<target name ="coreData" depends="init">
|
||||
<copy todir="${build.dir}/com/ibm/text/resources">
|
||||
<fileset dir="${src.dir}/com/ibm/text/resources"
|
||||
includes="Transliterator_*.txt"/>
|
||||
</copy>
|
||||
<copy todir="${build.dir}/com/ibm/text">
|
||||
<fileset dir="${src.dir}/com/ibm/text"
|
||||
includes="unames.dat,uprops.dat"/>
|
||||
includes="Transliterator_*.txt,*.dat"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
|
3
icu4j/src/com/ibm/icu/impl/data/uprops.dat
Executable file
3
icu4j/src/com/ibm/icu/impl/data/uprops.dat
Executable file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0f9176f6d01494ef1bc6ed2b3cc3c2e3897345747667b644befecc1cc7dcccb
|
||||
size 29652
|
@ -5,8 +5,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/text/Attic/UCharacterNameDB.java,v $
|
||||
* $Date: 2001/08/22 22:38:30 $
|
||||
* $Revision: 1.5 $
|
||||
* $Date: 2001/10/19 22:15:53 $
|
||||
* $Revision: 1.6 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -59,7 +59,7 @@ final class UCharacterNameDB extends UCharacterDB
|
||||
/**
|
||||
* Default name of the name datafile
|
||||
*/
|
||||
private static final String NAME_FILE_NAME_ = "unames.dat";
|
||||
private static final String NAME_FILE_NAME_ = "resources/unames.dat";
|
||||
|
||||
/**
|
||||
* Default buffer size of datafile
|
||||
|
@ -6,8 +6,8 @@
|
||||
*
|
||||
* $Source:
|
||||
* /usr/cvs/icu4j/icu4j/src/com/ibm/icu/text/UCharacterPropertyDB.java $
|
||||
* $Date: 2001/06/21 23:20:53 $
|
||||
* $Revision: 1.4 $
|
||||
* $Date: 2001/10/19 22:15:53 $
|
||||
* $Revision: 1.5 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -16,6 +16,7 @@ package com.ibm.text;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.DataInputStream;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
@ -98,7 +99,7 @@ final class UCharacterPropertyDB extends UCharacterDB
|
||||
/**
|
||||
* Default name of the datafile
|
||||
*/
|
||||
private static final String DATA_FILE_NAME_ = "uprops.dat";
|
||||
private static final String DATA_FILE_NAME_ = "resources/uprops.dat";
|
||||
|
||||
/**
|
||||
* Default buffer size of datafile
|
||||
@ -197,6 +198,7 @@ final class UCharacterPropertyDB extends UCharacterDB
|
||||
{
|
||||
UGenPropReader reader = new UGenPropReader();
|
||||
|
||||
// jar access
|
||||
InputStream i = getClass().getResourceAsStream(DATA_FILE_NAME_);
|
||||
BufferedInputStream b = new BufferedInputStream(i, DATA_BUFFER_SIZE_);
|
||||
DataInputStream d = new DataInputStream(b);
|
||||
|
3
icu4j/src/com/ibm/text/resources/unames.dat
Executable file
3
icu4j/src/com/ibm/text/resources/unames.dat
Executable file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be46b526e1f2ba8f154b7f393dd5f717b650620397ebf6c6f1ba332ff1617634
|
||||
size 100428
|
3
icu4j/src/com/ibm/text/resources/uprops.dat
Executable file
3
icu4j/src/com/ibm/text/resources/uprops.dat
Executable file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0f9176f6d01494ef1bc6ed2b3cc3c2e3897345747667b644befecc1cc7dcccb
|
||||
size 29652
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b218cde43dde10421810d0b33f159f8967308ea26b899853cb29d50e72ad5547
|
||||
size 29548
|
Loading…
Reference in New Issue
Block a user