Thread: [Delicious-java-discuss] active?
Brought to you by:
czarneckid
From: <del...@li...> - 2006-05-08 05:55:06
|
Hi, I just joined the mailing list to check the archives. According to sourceforge the archives don't exist. Is this list active? Im hoping to get some help with an error Im running into with addPost(); Steve |
From: <del...@li...> - 2006-05-08 08:30:14
|
Steve- You could be the first post to the list which is why it's not archived. What error are you seeing with addPost? On 5/8/06 1:55 AM, "del...@li..." <del...@li...> wrote: > Hi, > I just joined the mailing list to check the archives. According to > sourceforge the archives don't exist. > > Is this list active? Im hoping to get some help with an error Im > running into with addPost(); > > Steve > > > ------------------------------------------------------- > 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&kid0709&bid&3057&dat1642 > _______________________________________________ > Delicious-java-discuss mailing list > Del...@li... > https://lists.sourceforge.net/lists/listinfo/delicious-java-discuss -- David Czarnecki http://www.blojsom.com/blog/ | http://blojsom.sf.net |
From: <del...@li...> - 2006-05-17 15:04:25
|
Ha. That would explain the lack of an archive! Thanks for the response. I am trying to modify a post object and the use the addPost() method to upload the changes I've made. This is the code I'm using for addPost(), where p is a post object: boolean replace =3D true; boolean sent =3D delicious.addPost(p.getHref(), p.getDescription(), p.getExtended(), p.getTag(), p.getTime(),replace); This is the error I'm receiving: Semantic Error: No applicable overload for a method with signature "addPost(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, 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);" instead? I am relatively new to using libraries so I suspect there is something I'm missing here. Thanks in advance. steve On 08/05/06, del...@li... <del...@li...> wrote: > Steve- > > You could be the first post to the list which is why it's not archived. W= hat > error are you seeing with addPost? > > |
From: <del...@li...> - 2006-05-17 15:13:17
|
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 = true; boolean sent = delicious.addPost(p.getHref(), p.getDescription(), p.getExtended(), p.getTag(), p.getTime(), replace, true); On 5/17/06 11:04 AM, "del...@li..." <del...@li...> wrote: > Semantic Error: No applicable overload for a method with signature -- David Czarnecki http://www.blojsom.com/blog/ | http://blojsom.sf.net |
From: <del...@li...> - 2006-05-17 15:15:45
|
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 m= in > ago) has the following signature: > > public boolean addPost(String url, String description, String extended, > String tags, Date date, boolean replace, boole= an > 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..." > <del...@li...> wrote: > > > Semantic Error: No applicable overload for a method with signature > > -- > David Czarnecki > > http://www.blojsom.com/blog/ | http://blojsom.sf.net > > > > > ------------------------------------------------------- > 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 ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Delicious-java-discuss mailing list > Del...@li... > https://lists.sourceforge.net/lists/listinfo/delicious-java-discuss > |
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 |
From: <del...@li...> - 2006-05-18 20:38:03
|
The signature for the addPost method is: public boolean addPost(String url, String description, String extended, String tags, Date date, boolean replace, boolean shared) The 5th parameter needs to be a Date object, not a String. Try p.getTimeAsDate(): boolean sent =3D delicious.addPost(p.getHref(), p.getDescription (), p.getExtended(), p.getTag(), p.getTimeAsDate(),replace,true); That should work. Don=B9t know why I didn=B9t spot this before. Maybe it sneake= d past if you weren=B9t using an IDE that could do type checking since that should=B9ve caught it. On 5/18/06 3:40 PM, "del...@li..." <del...@li...> wrote: > Hi David, > I've downloaded 1.12 and put in sketch's code folder (im using Processing= 115) > My new addPost() looks like this: >=20 > boolean replace =3D true; > boolean sent =3D delicious.addPost(p.getHref(), p.getDescription (), > p.getExtended(), p.getTag(), p.getTime(),replace,true); >=20 >=20 > I'm getting a similar error: > /tmp/build49099.tmp/Temporary_6850_6591.java:102:16:102:120: Semantic Err= or: > No applicable overload for a method with signature "addPost(java.lang.Str= ing, > 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? >=20 > btw: I'm using OS X, 10.4.5, java ver 1.4.2_09 >=20 > Are there restrictions on how the strings are formatted? >=20 > thanks, > steve >=20 >=20 > On 17/05/06, Stephen Boyd <ss...@gm... <mailto:ss...@gm...> = > > wrote: >> Ok. thanks. I'll give it a shot. >>=20 >> On 17/05/06, del...@li... >> <mailto:del...@li...> >> < del...@li... >> <mailto: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 extende= d, >>> > 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...urceforge= .net >>> <mailto:del...@li...> " >>> > <del...@li...> wrote: >>> > >>>> > > Semantic Error: No applicable overload for a method with signature >=20 --=20 David Czarnecki http://www.blojsom.com/blog/ | http://blojsom.sf.net |
From: <del...@li...> - 2006-05-18 22:27:42
|
sweet! thanks very much. that did it. Im retagging all my bookmarks to include date/time info. On 18/05/06, del...@li... < del...@li...> wrote: > > The signature for the addPost method is: > > > public boolean addPost(String url, String description, String > extended, > String tags, Date date, boolean replace, > boolean shared) > > The 5th parameter needs to be a Date object, not a String. Try > p.getTimeAsDate(): > > boolean sent =3D delicious.addPost(p.getHref(), p.getDescription (), > p.getExtended(), p.getTag(), p.getTimeAsDate(),replace,true); > > That should work. Don't know why I didn't spot this before. Maybe it > sneaked past if you weren't using an IDE that could do type checking sinc= e > that should've caught it. > > > On 5/18/06 3:40 PM, "del...@li..." = < > del...@li...> wrote: > > 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.String, 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 "boolea= n > 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... <mailto:ss...@gm...= ><ss...@gm...>> wrote: > > Ok. thanks. I'll give it a shot. > > On 17/05/06, del...@li... > <mailto:del...@li...><delicious-jav= a-d...@li...> > > < del...@li... > <mailto:del...@li...><delicious-jav= a-d...@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... > <mailto:del...@li...><delicious-jav= a-d...@li...>" > > > <del...@li...> wrote: > > > > > Semantic Error: No applicable overload for a method with signature > > > > -- > > David Czarnecki > > http://www.blojsom.com/blog/ | http://blojsom.sf.net > |