aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39547
    
  27
This is likely unrelated to the issue at hand, but the code has a lingering bug: Don't println to a Socket


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read a set of lines
 
Similar Threads
Socket program for linux
problem with writing file , please help
Problem in file transfer
accessing a server using socket connection
passing commands using socket connection