console parsing



How can I parse the output of another program running using
System.exec()?
alternativly how can i cummincate with the os with java as if i were
using a command prompt?

.



Relevant Pages

  • Re: how to compare two version strings in java
    ... The Mac, in classial period at least, had a well-defined standard for version numbering, used for system components and applications, both Apple and third-party, based on the NumVersion struct in MacTypes.h: ... syntax of the version strings he's interested in, to parse them into their constituent pieces, and to compare piece by piece. ... But you're right, even if he does know that, there's nothing for it but to parse and compare. ... It may take a few more lines of code in java. ...
    (comp.lang.java.programmer)
  • Re: Problem with InputStream & Process
    ... my Java application, but I only get the output of my program after ... stdout nor on stderr nor need anything on stdin. ... And you can also always wrap a script you have no control on ... nor consuming the stdout and stderr etc. I'd simply parse ...
    (comp.lang.java.programmer)
  • Re: open source for remote control using lan
    ... Google that + java. ... You would have a little program running on each machine on the LAN and ... a master program sending them a socket TCP/IP stream of work packets, ... and receiving a stream of sensor data packets back. ...
    (comp.lang.java.programmer)
  • Re: Parsing Java
    ... > there's a couple of tools out there that can parse java code. ... lex and parse the code and extract call graphs and data ...
    (comp.compilers)
  • Re: Need to Parse delimited File into DataStructures .....
    ... I want to parse this file in Java. ... Then my DataStructure must have only 1 entry of SAM and MIKE ... Just a guess, StringTokenizer to parse and HashMap sounds good, or Hashtable depending on your needs and whether or not your user names are unique, which by you specification they have to be. ...
    (comp.lang.java.programmer)