jbackup/src/main/java/org/jbundle/jbackup/Scanner.java
public void run()
	{
		if (m_properties == null)
		{
			System.out.println("Must supply properties.");
			return;
		}
		String strSourceClass = m_properties.getProperty(SOURCE_PARAM);
		String strDestinationClass = m_properties.getProperty(DESTINATION_PARAM);
		if ((strSourceClass == null) || (strDestinationClass == null))
		{
			System.out.println("Must supply source and destination class names.");
			return;
		}
		SourceFileList sourceList = (SourceFileList)Util.makeObjectFromClassName(Object.class.getName(), "source", strSourceClass);
		DestinationFile destination = (DestinationFile)Util.makeObjectFromClassName(Object.class.getName(), "destination", strDestinationClass);
		this.process(sourceList, destination);
	}
public void run()
	{
		if (m_properties == null)
		{
			System.out.println("Must supply properties.");
			return;
		}
		String strSourceClass = m_properties.getProperty(SOURCE_PARAM);
		String strDestinationClass = m_properties.getProperty(DESTINATION_PARAM);
		if ((strSourceClass == null) || (strDestinationClass == null))
		{
			System.out.println("Must supply source and destination class names.");
			return;
		}
		SourceFileList sourceList = (SourceFileList)Util.makeObjectFromClassName(Object.class.getName(), "source", strSourceClass);
		DestinationFile destination = (DestinationFile)Util.makeObjectFromClassName(Object.class.getName(), "destination", strDestinationClass);
		this.process(sourceList, destination);
	}
public void run ( ) { if ( m_properties == null ) { System . out . println ( "Must supply properties." ) ; return ; } String strSourceClass = m_properties . getProperty ( SOURCE_PARAM ) ; String strDestinationClass = m_properties . getProperty ( DESTINATION_PARAM ) ; if ( ( strSourceClass == null ) || ( strDestinationClass == null ) ) { System . out . println ( "Must supply source and destination class names." ) ; return ; } SourceFileList sourceList = ( SourceFileList ) Util . makeObjectFromClassName ( Object . class . getName ( ) , "source" , strSourceClass ) ; DestinationFile destination = ( DestinationFile ) Util . makeObjectFromClassName ( Object . class . getName ( ) , "destination" , strDestinationClass ) ; this . process ( sourceList , destination ) ; }
Move files from the source to the destination.
Move files from the source to the destination .