From cddfb2c3cfff1266558ef2e709c76f7acbe61096 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 21 Sep 2016 15:45:17 +0200 Subject: [PATCH] Extended locale to page. --- src/fr/devinsy/xidyn/pages/Page.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/fr/devinsy/xidyn/pages/Page.java b/src/fr/devinsy/xidyn/pages/Page.java index 8aaeed6..795d829 100644 --- a/src/fr/devinsy/xidyn/pages/Page.java +++ b/src/fr/devinsy/xidyn/pages/Page.java @@ -49,6 +49,15 @@ public class Page extends TagDataManager this(PresenterFactory.create(source)); } + /** + * + * @param source + */ + public Page(final CharSequence source, final Locale locale) + { + this(PresenterFactory.create(source, locale)); + } + /** * * @param source @@ -103,6 +112,15 @@ public class Page extends TagDataManager this(new URLPresenter(source)); } + /** + * + * @param source + */ + public Page(final URL source, final Locale locale) + { + this(PresenterFactory.create(source, locale)); + } + /** * * @return