Re: One more question about invoking java methods from Clojure

2014-03-26 Thread Brandon Barret
On Wednesday, March 26, 2014 8:24:15 PM UTC-4, Brandon Barret wrote: > > > > Wow...I am..wow, you are right. Thanks for the quick reply! So I would > set up the parameter as a file Object first and then it should work okay? I > think I am seeing the error of my ways quite clearly! > -- You r

Re: One more question about invoking java methods from Clojure

2014-03-26 Thread Brandon Barret
Wow...I am..wow, you are right. Thanks for the quick reply! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your

Re: One more question about invoking java methods from Clojure

2014-03-26 Thread Brandon Barret
Also, when I run either method, it returns "0". Do I need to set up the function so it can return a long value or date value, respectively? The .getName method seems to work fine. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gr

Re: One more question about invoking java methods from Clojure

2014-03-26 Thread Moritz Ulrich
You are likely passing a string to the function, not a java.io.File object. On Thu, Mar 27, 2014 at 1:16 AM, Brandon Barret wrote: > > I am working on a project that requires me to get the size of a file and > access it's last date of modification. It seems like the java methods > .length and .