custom function signature

View: New views
3 Messages — Rating Filter:   Alert me  

custom function signature

by Fırat KÜÇÜK :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
this is my custom string concatenate function.

  public static String strConcat(String... parameters) {

    String result = "";

    for (String s : parameters) {
      result += s;
    }

    return result;
  }


how may i write function signature for it? I couldn't use like this;

  <function>
    <function-name>strConcat</function-name>
    <function-class>gidaport.view.Functions</function-class>
    <function-signature>java.lang.String
strConcat(java.lang.String...)</function-signature>
  </function>


your sincerely

--
FIRAT KÜÇÜK

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


RE: custom function signature

by Raymond K. DeCampo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have you tried using a String array for the signature in the configuration?  My understanding is that what it gets compiled to.

-----Original Message-----
From: Fırat KÜÇÜK [mailto:firatkucuk@...]
Sent: Thursday, July 30, 2009 8:55 AM
To: users@...
Subject: custom function signature

Hi,
this is my custom string concatenate function.

  public static String strConcat(String... parameters) {

    String result = "";

    for (String s : parameters) {
      result += s;
    }

    return result;
  }


how may i write function signature for it? I couldn't use like this;

  <function>
    <function-name>strConcat</function-name>
    <function-class>gidaport.view.Functions</function-class>
    <function-signature>java.lang.String
strConcat(java.lang.String...)</function-signature>
  </function>


your sincerely

--
FIRAT KÜÇÜK

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: custom function signature

by Fırat KÜÇÜK :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes i tried. But it didn't work. :(

31 Temmuz 2009 22:06 tarihinde, Raymond K. DeCampo
<rkdecampo@...> adlı kullanıcı şunu yazmış:

> Have you tried using a String array for the signature in the configuration?  My understanding is that what it gets compiled to.
>
> -----Original Message-----
> From: Fırat KÜÇÜK [mailto:firatkucuk@...]
> Sent: Thursday, July 30, 2009 8:55 AM
> To: users@...
> Subject: custom function signature
>
> Hi,
> this is my custom string concatenate function.
>
>  public static String strConcat(String... parameters) {
>
>    String result = "";
>
>    for (String s : parameters) {
>      result += s;
>    }
>
>    return result;
>  }
>
>
> how may i write function signature for it? I couldn't use like this;
>
>  <function>
>    <function-name>strConcat</function-name>
>    <function-class>gidaport.view.Functions</function-class>
>    <function-signature>java.lang.String
> strConcat(java.lang.String...)</function-signature>
>  </function>
>
>
> your sincerely
>
> --
> FIRAT KÜÇÜK
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>



--
FIRAT KÜÇÜK

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...