Revision 45
SRC/src/fr/triangle/hyperalign/kernel/dico/Dictionary.java (revision 45) | ||
---|---|---|
1 | 1 |
package fr.triangle.hyperalign.kernel.dico; |
2 | 2 |
|
3 |
import java.io.File; |
|
4 | 3 |
import java.net.URL; |
5 | 4 |
import java.util.ArrayList; |
6 | 5 |
import java.util.Collections; |
... | ... | |
104 | 103 |
* Terminology Terms and Occurrences are added with the corpus terminological annotations |
105 | 104 |
* @param URL |
106 | 105 |
*/ |
107 |
private void buildData(URL url){
|
|
106 |
public void buildData(URL url){
|
|
108 | 107 |
if(url==null){ |
109 | 108 |
root = new DictionaryElement(this, name, DICO_DICO, "DICO_"+name); |
110 |
String[] projectFileName = manager.getProjectName(); |
|
111 |
String fileName = projectFileName[1]+"_"+"Dictionary_"+name+".xml"; |
|
112 |
File file = new File(projectFileName[0], fileName); |
|
113 |
|
|
114 | 109 |
System.out.println("Dictionary.buildData() [name => "+name+"], [URL => null], [Root => "+root+"]"); |
115 |
System.out.println("Dictionary.buildData() - FILE ? "+file.getPath()); |
|
116 | 110 |
} |
117 | 111 |
else { |
118 | 112 |
HyperalignBuilder builder = new HyperalignBuilder(manager, displayDictionary); |
SRC/src/fr/triangle/hyperalign/gui/io/Opener.java (revision 45) | ||
---|---|---|
140 | 140 |
res = HyperalignData.getInstance().getResourceBundle(); |
141 | 141 |
} |
142 | 142 |
} |
143 |
|
Also available in: Unified diff