Updated the dictionary structure to allow grouping of dictionaries, this is the first step to try to clean up a bit the massive repetitions in dictionaries.

This commit is contained in:
amontano 2004-08-13 04:47:35 +00:00
parent 6bb0646f1c
commit afd3a95a21
22 changed files with 1533 additions and 297 deletions

View file

@ -31,12 +31,12 @@ import java.io.*;
public class RemoteTibetanScanner extends TibetanScanner
{
private String url;
private DictionarySource defSourcesWanted;
private BitDictionarySource defSourcesWanted;
public RemoteTibetanScanner(String url) throws Exception
{
super();
defSourcesWanted = DictionarySource.getAllDictionaries();
defSourcesWanted = new BitDictionarySource().getAllDictionaries();
this.url = url;
}
@ -95,7 +95,7 @@ public class RemoteTibetanScanner extends TibetanScanner
{
}
public DictionarySource getDictionarySource()
public BitDictionarySource getDictionarySource()
{
return defSourcesWanted;
}
@ -129,7 +129,7 @@ public class RemoteTibetanScanner extends TibetanScanner
}
}
br.close();
Definitions.defTags = ll2.toStringArray();
DictionarySource.setTags(ll2.toStringArray());
return ll1.toStringArray();
}
catch (Exception e)