Results 1 to 2 of 2
  1. #1
    narasimhavsi is offline Member
    Join Date
    Feb 2010
    Posts
    1
    Rep Power
    0

    Angry problem in google-gwt language api class method??

    hello viewers,
    i am trying to use the following package class method in my class but it is showing error in that method. The class is located in the following package

    com.google.gwt.language.client.transliteration.tex t.*;

    The above package contains the following classes

    Transliteration.java
    TransliterationCallback.java
    TransliterationResult.java

    I am using the Transliteration class. For that i created object and accessing the following method(transliterate) which is defined in Transliteration class.

    public static final void transliterate (ArrayList<String> wordsArray,
    LanguageCode srcLang, LanguageCode destLang,
    TransliterationCallback callback) {

    JsArrayString jsArrayStr = (JsArrayString) JavaScriptObject.createArray();

    for (int i = 0; i < wordsArray.size(); ++i) {

    jsArrayStr.set(i, wordsArray.get(i));
    }

    transliterate(jsArrayStr, srcLang.getLangCode(), destLang.getLangCode(),
    callback);
    }

    Please help me how to access that method (transliterate) in my class. It is important in my project.

  2. #2
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    364
    Rep Power
    5

    Default


    hello viewers,
    i am trying to use the following package class method in my class but it is showing error in that method
    What kind of error is that?

Similar Threads

  1. Replies: 3
    Last Post: 02-09-2010, 05:22 AM
  2. Child-Class Calling a Method in a Parent-Class
    By Blah_ in forum New To Java
    Replies: 5
    Last Post: 09-29-2009, 02:48 AM
  3. Calendar language problem
    By kopros in forum New To Java
    Replies: 1
    Last Post: 10-27-2008, 10:00 PM
  4. Replies: 29
    Last Post: 09-25-2008, 07:55 PM
  5. Calling a method on original class from created class
    By kpedersen in forum Advanced Java
    Replies: 4
    Last Post: 08-20-2008, 12:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •