@@ -0,0 +1,679 @@
+package factory;%0A%0Aimport java.io.File;%0Aimport java.net.URI;%0Aimport java.net.URL;%0A%0Apublic abstract class FactoryParser %7B%0A%0A    protected URI uri;%0A%0A    protected URL url;%0A%0A    protected File file;%0A%0A    protected abstract void setUri(URI uri);%0A%0A    protected abstract void serUrl(URL url);%0A%0A    protected abstract void setFile(File file);%0A%0A    protected InterfaceParser create() %7B%0A        return new DefaultParser();%0A    %7D%0A%0A    protected FactoryParser() %7B%7D%0A%0A    protected class DefaultParser implements InterfaceParser %7B%0A        @Override%0A        public void parser() %7B%7D%0A%0A        public DefaultParser() %7B%7D%0A    %7D%0A%0A    public interface InterfaceParser %7B%0A        void parser();%0A    %7D%0A%7D%0A

Create FactoryParser.java