@@ -0,0 +1,1252 @@
+/**%0A *  jddl - Java Direct Download Lib%0A *%0A *  Copyright (C) 2012  Kamran Zafar%0A *%0A *  This file is part of Jar Class Loader (JCL).%0A *  Jar Class Loader (JCL) is free software: you can redistribute it and/or modify%0A *  it under the terms of the GNU Lesser General Public License as published by%0A *  the Free Software Foundation, either version 3 of the License, or%0A *  (at your option) any later version.%0A *%0A *  JarClassLoader is distributed in the hope that it will be useful,%0A *  but WITHOUT ANY WARRANTY; without even the implied warranty of%0A *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A *  GNU Lesser General Public License for more details.%0A *%0A *  You should have received a copy of the GNU Lesser General Public License%0A *  along with JCL.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A *%0A *  @author Kamran Zafar%0A *%0A *  Contact Info:%0A *  Email:  xeus.man@gmail.com%0A *  Web:    http://kamranzafar.org%0A */%0A%0Apackage org.kamranzafar.jddl;%0A%0A/**%0A * @author Kamran%0A * %0A */%0Apublic class DownloadAdaptor implements DownloadListener %7B%0A%0A    public void onStart(String fname, int fsize) %7B%0A    %7D%0A%0A    public void onUpdate(int bytes, int totalDownloaded) %7B%0A    %7D%0A%0A    public void onComplete() %7B%0A    %7D%0A%0A    public void onCancel() %7B%0A    %7D%0A%7D%0A

add download adaptor