jbackup/src/main/java/org/jbundle/jbackup/Scanner.java
public void process(SourceFileList sourceList, DestinationFile destination)
	{
		sourceList.initTransfer(m_properties);
		destination.initTransfer(m_properties);
		//FilesystemSource("c:\\My Documents");
		//DebugDestination(null);
		//ZipDestination("test.zip", -1);
		while (sourceList.hasNext())
		{
			SourceFile source = sourceList.next();
			this.moveFile(source, destination);
//?                        source.close();
//			System.out.println(source.getFileName());
		}
		destination.finishTransfer(m_properties);
		sourceList.finishTransfer(m_properties);
	}
public void process(SourceFileList sourceList, DestinationFile destination)
	{
		sourceList.initTransfer(m_properties);
		destination.initTransfer(m_properties);
		//FilesystemSource("c:\\My Documents");
		//DebugDestination(null);
		//ZipDestination("test.zip", -1);
		while (sourceList.hasNext())
		{
			SourceFile source = sourceList.next();
			this.moveFile(source, destination);
//?                        source.close();
//			System.out.println(source.getFileName());
		}
		destination.finishTransfer(m_properties);
		sourceList.finishTransfer(m_properties);
	}
public void process ( SourceFileList sourceList , DestinationFile destination ) { sourceList . initTransfer ( m_properties ) ; destination . initTransfer ( m_properties ) ; //FilesystemSource("c:\\My Documents"); //DebugDestination(null); //ZipDestination("test.zip", -1); while ( sourceList . hasNext ( ) ) { SourceFile source = sourceList . next ( ) ; this . moveFile ( source , destination ) ; //?                        source.close(); //			System.out.println(source.getFileName()); } destination . finishTransfer ( m_properties ) ; sourceList . finishTransfer ( m_properties ) ; }
Move files from the source to the destination.
Move files from the source to the destination .