Missing/incorrect java-io function definitions
"Ben Simon" <[email protected]>
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Hey All, Sorry if I'm missing something obvious - but it doesn't appear to me that the definition of ->joutput-stream is present in java-io.scm of the latest alpha source deployment. Also, the definition of ->jinput-stream is present, but I believe incorrect. Here's what I've been using to get my java-io stuff to work: (define-method (->jinput-stream (<binary-input-port> in-port)) (get-input-stream (java-wrap in-port))) (define-method (->joutput-stream (<binary-output-port> out-port)) (get-output-stream (java-wrap out-port))) (Notice the use of java-wrap so that get-XXX-stream makes sense) -Ben -- Ben Simon My blog: http://benjisimon.blogspot.com Have a software idea?: http://i2x.blogspot.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sisc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisc-users