»Ë»Ñ Æ÷·³
°³¹ßÀÚÆ÷·³ ÀÔ´Ï´Ù.
  • ºÏ¸¶Å© ¾ÆÀÌÄÜ

ÀÚ¹Ù ÆÄÀÏÀÔÃâ·Â Áú¹®µå¸³´Ï´Ù.6

  • nasescobar
  • µî·ÏÀÏ 2017-05-23 23:26
  • Á¶È¸¼ö 348
ÀÌÀü¿¡ Çѹø ÇØ°áÇß¾ú´ø ¹®Á¦Àε¥ ³Ê¹« ¿À·¡ÀüÀ̶ó ±â¾ïÀÌ ³ªÁú¾Ê¾Æ ±¸±Û¸µÀ¸·Î ½ÃµµÇغÃÀ¸³ª

 

µ¥ÀÌÅÍ°¡ ¾Èµé¾î°¡´Â ¹®Á¦°¡ ÀÖ¾î Áú¹® ¿Ã¸³´Ï´Ù..;

 

csvÆÄÀÏÀ» Àоî¿Ô´Âµ¥ AÇà¿¡ ´ëÇÑ ³»¿ë¸¸ ÀÐÇôÁÖ°í ½Í¾î¼­ ¾Æ·¡¿Í °°ÀÌ Äڵ带 Â¥¼­

 

ÀÐÀº lineÀ» ½ºÇø´À¸·Î ²÷¾îÁÖ°í 0¹ø° À妽º¸¸ list¿¡ »ðÀÔÇØÁÖµµ·Ï Çߴµ¥, µ¥ÀÌÅÍ°¡ µé¾î°¡Áú ¾Ê³×¿ä.

 

¿À·ù°¡ ¹ß»ýÇÏ´Â°Ç ¾Æ´Ï³ª Log¸¦ Âï¾îº¸¾Æµµ ¹¬¹¬ºÎ´ä.. µ¥ÀÌÅÍ°¡ ¾Æ¿¹ ¾Èµé¾î°¡´Â µí ÇØ¿ä.

 

À߸øµÈ ºÎºÐÀÌ ÀÖ³ª¿ä?

 

InputStreamReader inputreader = new InputStreamReader(this.getAssets().open("dic.csv"), "euc-kr");
BufferedReader buffereader = new BufferedReader(inputreader);
List<String> list = new ArrayList<String>();
String line;

do {
line = buffereader.readLine();
String[] token = line.split(",", -1);
list.add(token[0]);
} while(line!=null);

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 Á¦´Ï½º101

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 nasescobar

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 Á¦´Ï½º101

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 nasescobar

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 Æä¾óÇÁÀÎ

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 nasescobar
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û ¸ñ·Ïº¸±â