Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-09-2010, 12:45 PM
Member
 
Join Date: Feb 2010
Posts: 1
Rep Power: 0
narasimhavsi is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 02-09-2010, 03:59 PM
FON FON is offline
Senior Member
 
Join Date: Dec 2009
Location: Belgrade, Serbia
Posts: 295
Rep Power: 1
FON is on a distinguished road
Default
Quote:

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?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java class HashIt with a static recursive method and a static iterative method kezkez New To Java 3 02-09-2010 06:22 AM
[SOLVED] Child-Class Calling a Method in a Parent-Class Blah_ New To Java 5 09-29-2009 03:48 AM
Calendar language problem kopros New To Java 1 10-27-2008 11:00 PM
Calling a method in a different class from within a method problem CirKuT New To Java 29 09-25-2008 08:55 PM
Calling a method on original class from created class kpedersen Advanced Java 4 08-20-2008 01:25 AM


All times are GMT +2. The time now is 04:31 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org