Search:

Type: Posts; User: javainbrain

Search: Search took 0.08 seconds.

  1. Re: Reading a file line by line using the Scanner class

    Oh man, what a shame!

    The first line was filtered by first continue-if. Sorry, I'm blind sometimes. And thank you for the good tips.

    In Germany we say: "Ich habe den Wald vor lauter Bäumen...
  2. Re: Reading a file line by line using the Scanner class

    That are the first lines of the file:

    There is no match at first line after the header with the continue-if-clauses. In debug-breakpoint-view at line

    header = scIn.nextLine();
    I can see the...
  3. Re: Reading a file line by line using the Scanner class

    Here is my code. Please have a look to the code-line after "//here is the problem ..."


    private Path filteredFile() {
    List<LEVImportFileDto> checkDtoList = new ArrayList<LEVImportFileDto>();...
  4. Re: Reading a file line by line using the Scanner class

    Hello,

    I've tried so, but misses 1st line. The command "readNextLine" reads the next (the second) line. Can you confirm?

    Greetings
    JIB
Results 1 to 4 of 4