Package jcomicdownloader.module

Examples of jcomicdownloader.module.Run


                            Flag.allowDownloadFlag = true;

                            String nowState = "下載進度:" + downloadCount + " / " + Common.getTrueCountFromStrings( checkStrings );
                            downTableModel.setValueAt( nowState, i, DownTableEnum.STATE );
                            // 啟動下載
                            Run mainRun = new Run( urlStrings[j], volumeStrings[j], downTableModel.getValueAt( i, DownTableEnum.TITLE ).toString(),
                                                   RunModeEnum.DOWNLOAD_MODE );
                            mainRun.run();
                            downloadCount++;
                        }
                    }

                    if ( Run.isAlive )
View Full Code Here


            {
                // download comic from url
                Flag.allowDownloadFlag = true; // allow the action of download
                Common.processPrintln( "開始單集下載" );
                stateBar.setText( "  開始單集下載" );
                Run singleRun = new Run( newArgs, RunModeEnum.DOWNLOAD_MODE );
                singleRun.start();
                try
                {
                    singleRun.join();
                }
                catch ( InterruptedException ex )
                {
                    Common.hadleErrorMessage( ex, "無法加入singleRun.join()" );
                }
View Full Code Here

                        String[] tempArgs = Common.getCopiedStrings( newArgs );
                        //args = null;

                        //int runMode = allowDownload ? RunModeEnum.DOWNLOAD_MODE : RunModeEnum.PARSE_MODE;
                        mainRun = new Run( tempArgs, RunModeEnum.PARSE_MODE );
                        mainRun.start();
                        String title = "";
                        try
                        {
                            mainRun.join();
View Full Code Here

TOP

Related Classes of jcomicdownloader.module.Run

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.