Re: [Delicious-java-discuss] active?
Brought to you by:
czarneckid
From: <del...@li...> - 2006-05-18 19:40:32
|
Hi David, I've downloaded 1.12 and put in sketch's code folder (im using Processing 115) My new addPost() looks like this: boolean replace =3D true; boolean sent =3D delicious.addPost(p.getHref(), p.getDescription(), p.getExtended(), p.getTag(), p.getTime(),replace,true); I'm getting a similar error: /tmp/build49099.tmp/Temporary_6850_6591.java:102:16:102:120: Semantic Error= : No applicable overload for a method with signature "addPost(java.lang.Strin= g, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean)" was found in type "del.icio.us.Delicious". Perhaps you wanted the overloaded version "boolean addPost(java.lang.String $1, java.lang.String $2, java.lang.String $3, java.lang.String $4, java.util.Date $5, boolean $6, boolean $7);" instead? btw: I'm using OS X, 10.4.5, java ver 1.4.2_09 Are there restrictions on how the strings are formatted? thanks, steve On 17/05/06, Stephen Boyd <ss...@gm...> wrote: > > Ok. thanks. I'll give it a shot. > > On 17/05/06, del...@li... > < del...@li...> wrote: > > The addPost method in the latest release (1.12 - just released about 20 > min > > ago) has the following signature: > > > > public boolean addPost(String url, String description, String extended, > > String tags, Date date, boolean replace, > boolean > > shared) > > > > So, you'd need to make a call like: > > > > boolean replace =3D true; > > boolean sent =3D delicious.addPost (p.getHref(), p.getDescription(), > > p.getExtended(), p.getTag(), p.getTime(), replace, true); > > > > > > On 5/17/06 11:04 AM, "del...@li...= t > " > > <del...@li...> wrote: > > > > > Semantic Error: No applicable overload for a method with signature |