1 11 12 package org.eclipse.ui.intro.config; 13 14 import org.eclipse.ui.internal.intro.impl.model.url.IntroURL; 15 import org.eclipse.ui.internal.intro.impl.model.url.IntroURLParser; 16 17 29 public final class IntroURLFactory { 30 31 34 private IntroURLFactory() { 35 } 37 38 39 62 public static IIntroURL createIntroURL(String url) { 63 IntroURLParser parser = new IntroURLParser(url); 64 if (parser.hasIntroUrl()) { 65 IntroURL introURL = parser.getIntroURL(); 66 return introURL; 67 } 68 return null; 69 } 70 71 } 72 | Popular Tags |