Revision 26048 branches/v10/extensions/extI18n/src/org/gvsig/i18n/I18nManager.java

View differences:

I18nManager.java
111 111
     *            the jar or zip file which contains the locales and the
112 112
     *            translations as resource bundle files
113 113
     * @return the list of installed or updated locales
114
     * @throws I18nException
115
     *             if the locales could'n be installed
114 116
     */
115
    Locale[] installLocales(File importFile);
117
    Locale[] installLocales(File importFile) throws I18nException;
116 118

  
117 119
    /**
118 120
     * Uninstalls a locale and its translation.
119 121
     * 
120 122
     * @param locale
121 123
     *            to uninstall
124
     * @throws I18nException
125
     *             if the locale can't be uninstalled
122 126
     */
123
    void uninstallLocale(Locale locale);
127
    void uninstallLocale(Locale locale) throws I18nException;
124 128

  
125 129
    /**
126 130
     * Exports the translations of a locale to update or complete its
......
134 138
     *            the locale to be used as reference
135 139
     * @param exportFile
136 140
     *            the jar file to export to
141
     * @throws I18nException
142
     *             if the locale could not be exported for update
137 143
     */
138 144
    void exportLocaleForUpdate(Locale locale, Locale referenceLocale,
139
	    File exportFile);
145
	    File exportFile) throws I18nException;
140 146

  
141 147
    /**
142 148
     * Exports the keys of text to translate to a new locale to a jar file. Into
......
149 155
     *            the locale to be used as reference
150 156
     * @param exportFile
151 157
     *            the jar file to export to
158
     * @throws I18nException
159
     *             if the locale could not be exported for translation
152 160
     */
153 161
    void exportLocaleForTranslation(Locale locale, Locale referenceLocale,
154
	    File exportFile);
162
	    File exportFile) throws I18nException;
155 163

  
156 164
    /**
157 165
     * Returns the list of default locales to use as reference when exporting to

Also available in: Unified diff