Hi,
I was reading information about popen, and I think you could write (not
tested code) :
Object popen (String command, char mode){
Process p = Runtime.getRuntime().exec(command);
if (mode == 'r')
return p.getInputStream()
else
return p.getOutputStream();
}
then, cast Object to InputStream or OutputStream...
.: marcelo alves :.
----- Original Message -----
From: "Mark Lillywhite" <[EMAIL PROTECTED]>
To: "Plucker Development List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 8:51 PM
Subject: Re: Java version of the parser, more info
| I don't know what PIL is, but I wonder if the answer is "JIMI" ?
|
| > In addition, the Jython code doesn't support os.popen(), which is how
| > we call out to the image converters, so images aren't converted. But
| > there's probably some equivalent to PIL in Java-land, which could be
| > used instead. Anyone know what that is?
|
|