public static JitterbitWebPageFactory newInstance() {
return new JitterbitWebPageFactory() {
@Override
public WebPage getForumsPage() {
return (FORUM_URL == null) ? null : new DefaultWebPage(FORUM_URL);
}
@Override
public WebPage getHomePage() {
return (HOMEPAGE_URL == null) ? null : new DefaultWebPage(HOMEPAGE_URL);
}
@Override
public WebPage getTutorialPage() {
return (QUICK_START_URL == null) ? null : new DefaultWebPage(QUICK_START_URL);
}
};
}