File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes how to read a set of lines Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to read a set of lines" Watch "how to read a set of lines" New topic
Author

how to read a set of lines

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi,

In the above code,i am originating(dialing) a mobile number by using originate command.If once the call is originated, a set of events will be generated.I am reading those generated events by using the



But I have to use the above inside a while loop.then only,i can able to read all the lines.without while loop,I can able to read only a single line.If i use while loop,I am unable to break the while loop and continue the whole program.

The issue i have to solve is,I have to read all the lines of the generated events and i have to dial the numbers continuously.

Please assist me to solve this while loop issue.If i am not clear,I will explain more.

Thanks




Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41867
    
  63
This is likely unrelated to the issue at hand, but the code has a lingering bug: Don't println to a Socket


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read a set of lines