MCPcopy Create free account
hub / github.com/w3c/epubcheck / setLocale

Method setLocale

src/main/java/com/adobe/epubcheck/api/EpubCheck.java:190–196  ·  view source on GitHub ↗

Allows for a per-instance override of the locale, if supported by the underlying Report. Otherwise takes the default host locale. @param locale The overridden locale.

(Locale locale)

Source from the content-addressed store, hash-verified

188 * The overridden locale.
189 */
190 public void setLocale(Locale locale)
191 {
192 if (locale != null && report != null && report instanceof LocalizableReport)
193 {
194 ((LocalizableReport) report).setLocale(locale);
195 }
196 }
197
198 /**
199 * Validate the file. Return true if no errors or warnings found.

Callers

nothing calls this directly

Calls 1

setLocaleMethod · 0.65

Tested by

no test coverage detected