|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringTableProcessor
The StringCSVProcessor is callback for ResourceSerivce to process string tables. We need the interface because there are two different styles of string table. 1. Buyer style: created by developer. ex ariba.html.fieldsui.csv. They have three columns, the first column is the key, the second column is the localized strings and last one comment. 2. AribaWeb style: created by localize script. the strings are extracted from awl file and java files. These files have 5 columns. column 1 is the component name, column 2 the key inside this component, column 3 the english string, column is the localized string. column 5 comment.
Method Summary | |
---|---|
StringCSVConsumer |
createStringCSVConsumer(java.net.URL url,
boolean displayWarning)
create a csv consumer. |
java.lang.Object |
defaultValueIfNullStringTable(java.lang.Object key)
|
void |
mergeStringTables(java.util.Map dest,
java.util.Map source)
Merge string map read from different directories. |
Method Detail |
---|
StringCSVConsumer createStringCSVConsumer(java.net.URL url, boolean displayWarning)
url
- location of csv filedisplayWarning
- flag that indicates whether warning should be displayed for errorsvoid mergeStringTables(java.util.Map dest, java.util.Map source)
dest
- destination mapsource
- source mapjava.lang.Object defaultValueIfNullStringTable(java.lang.Object key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |