我现在有一个数据集是txt格式的,
A1004AX2J2HXGL B0007RT9LC 3 4 5 The film speaks for itself " The only thing missing is a presentation of the
数据集里面的数据都是像上面一样,数据集5G多,我用txt和excel都处理不了,我现在想用java的一些方法去一行一行的读,并且去掉一些不需要的列,不知道该用到什么类,跪求高手指教。
A1004AX2J2HXGL B00028HBKM 9 22 1 Life beyond the thunderdome " I cried when I saw The PASSION OF THE CHRIST - how could you not? I sat there and watched a man brutalized for two hours. Everyone around me was crying - it felt like we were all tuned in to the proceedings of a televised execution.  I was a little confused by the time it was all over & as I was leaving the theater, I was even more so: I saw parents walking out with their children.  Jesus Christ's teachings were left in the wings, the significance of his life locked out of the script almost entirely.  Hardly a first impression for young children.  The ONLY things I found at all interesting about the PASSION OF THE CHRIST: the use of the authentic languages from the time period (Latin & Aramaic) and the actors bringing this movie to life.  James Caviezel's performance in Terrence Malick's THE THIN RED LINE was simply mesmerizing, and he used a similar pallet of emotion for his performance here.  I was raised a Roman Catholic - so viewing the Stations of the Cross was nothing new to me.  To suggest this film version of that seasonal meditation is a ""masterwork"" - simply is absurd.  So what WAS the point of this film, what were we to draw from its brutal imagery?  There was no inspiration in Mel Gibson's film for me, no arc of understanding - only suffering and death.  Which led me to consider their goal may have been to create a vivid emotional experience, intended to lift us out of numbness and inspire reflection on faith to get us through this life: televised warfare, beheadings on the internet, stories of sickness and shootings on the nightly news, etc.  Perhaps, but I don't think so.  A fleeting, knee-jerk reaction with some tears shed on queue, and then those emotions are safely placed back on the shelf until the next time.  Complicity and silence have always gone hand in hand: it's easy to damn this world, condemn what we see as different from our own huddled beliefs; allow selfishness and insincerity to decimate through clouds of frankincense and joyous hymns.  Salvation?  Maybe.      The infamous THE LAST TEMPTATION OF CHRIST, directed by Martin Scorsese, is a ""masterwork"" of filmmaking. The film not only inspires the heart, but also prods the mind.  I could feel the breath of those images, allowing me to enter the world it created and truly feel something more than myself.  It was not an epiphany; it was a fresh view, it was an enlightened dream of another world, yet strangely our own.  The film didn't plague the audience with blood and horrors; it dramatizes the passion and relevance of the story.  I've come to understand and believe Jesus Christ to be among the greatest teachers this world has known, who suffered the tortures of the damned to inspire his vision of peace, determination for truth and humility in us all - ideals that have taken a back seat to robotic, indignant servitude to skewed ""moral"" interests.    The LAST TEMPTATION was based on the book by Nikos Kazantzakis - from which the filmmakers created a thoughtful, passionate re-examination of one of the greatest stories ever told.  Mr. Scorsese, in his youth, had almost joined the priesthood; but chose to explore and express his passion through the cinema.  I saw no blasphemy in his images - only a powerful film exploring faith in ourselves and the world.  Often cited as trash, garbage and against popular faith - this film truly offers a story of FAITH we can all profit from, regardless of what we believe.       "

解决方案 »

  1.   

    文件大 就用 RandomAccessFile 读取把.
      

  2.   


    File sourceFile = new File(sourcePath + "\\" + filename);
    FileReader fr;
    BufferedReader br;
    fr = new FileReader(sourceFile);
    br = new BufferedReader(fr);
    try {
        createErrLogfile(sourcePath, filename);
        String strReadLine = "";
        int flag = 0;
        
        while ((strReadLine = br.readLine()) != null) {
            String tmp1 = strReadLine.substring(strReadLine.length() - 1, strReadLine.length());
            ......
        }
    } catch (Exception e) {
        throw new Exception(e);
    }finally{
        br.close();
        fr.close();
    }
      

  3.   

    文件内容过大,用RandomAccessFile