Search:

Type: Posts; User: Insence8

Search: Search took 0.19 seconds.

  1. Replies
    16
    Views
    398

    Re: Searching a word in a compressed file

    check this out dude,
    good fuking job you there!!



    package folder.indexer;
    import java.io.File;

    /*
    import java.io.FileNotFoundException;
  2. Replies
    16
    Views
    398

    Re: Searching a word in a compressed file

    its a looping for. -_-
    then creating File xFile = new File(String [i])
    i backtracked to readFile method, still dont know what is wrong..
    i think, creating File file = new File("path") is the...
  3. Replies
    16
    Views
    398

    Re: Searching a word in a compressed file

    oh, you mean like this ?
    Methods.java



    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package folder.indexer;
  4. Replies
    16
    Views
    398

    Re: Searching a word in a compressed file

    yes, it is the output already :
    java.lang.NullPointerException


    i dont think there was a variable with null value.
    please take a close look at my code above...

    Scanner input = new...
  5. Replies
    16
    Views
    398

    Re: Searching a word in a compressed file

    nevermind dude,
    the file doesnt need to be .7z ...
    its k if it extracted.

    and now im trying the code for indexing (maybe printing the list folder),
    still stuck ini a stupid problem...
    please...
  6. Replies
    16
    Views
    398

    Re: Searching a word in a compressed file

    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package folder.indexer;
    import java.io.IOException;
    import java.util.Enumeration;
    import...
  7. Replies
    16
    Views
    398

    Re: Searching a word in a compressed file

    i dont get it bro (hardcode),
    and did you mean using the file class create a file object is : extract the file (with JavaIO? and pour it into a file object?)

    its a .7zip (lol, is it a defintion...
  8. Replies
    16
    Views
    398

    Searching a word in a compressed file

    first, i will introduce myself in my first post.
    i'm studying java programming language in college (actually, ima noob btw),
    and i have a task to search a word in a compressed file and index the...
  9. Replies
    16
    Views
    398

    Searching a word in a compressed file

    first, i will introduce myself in my first post.
    i'm studying java programming language in college (actually, ima noob btw),
    and i have a task to search a word in a compressed file and index the...
Results 1 to 9 of 9