public static LanguageDictionary createFromFile(File f) throws Exception {
    String name = extractLanguageName(f);
    LanguageDictionary res = new LanguageDictionary(name);
    // and load the content.
    JSONObject content = res.readContentFromBinaryFile(f);
    res.addJSONContent(content);
    return res;
  }
public static LanguageDictionary createFromFile ( File f ) throws Exception { String name = extractLanguageName ( f ) ; LanguageDictionary res = new LanguageDictionary ( name ) ; JSONObject content = res . readContentFromBinaryFile ( f ) ; res . addJSONContent ( content ) ; return res ; }
@param f the Localizable.strings file to use for the content.