]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/DictionaryConfig.java
Added Apache license.
[Dictionary.git] / src / com / hughes / android / dictionary / DictionaryConfig.java
index 1c2458b7ad700a5bce282878723b0854bd01b531..3f9d1de863e1355dc3915723b0cdbbfe435636d4 100644 (file)
@@ -1,3 +1,17 @@
+// Copyright 2011 Google Inc. All Rights Reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package com.hughes.android.dictionary;
 
 import java.io.Serializable;
@@ -8,19 +22,9 @@ public class DictionaryConfig implements Serializable {
 
   String name = "";
   String localFile = "/sdcard/quickDic/";
-  String wordList = "/sdcard/quickDic/";
   String downloadUrl = "http://";
   
   int openIndex = 0;
   String openWord = "";
   
-  static DictionaryConfig defaultConfig() {
-    final DictionaryConfig result = new DictionaryConfig();
-    result.name = "DE<->EN";
-    result.downloadUrl = "http://www.stanford.edu/~egirard/dict/de-en.2.dict";
-    result.localFile = "/sdcard/quickDic/de-en.dict";
-    result.wordList = "/sdcard/quickDict/wordlist_de-en.txt";
-    return result;
-  }
-  
 }