jbackup/src/main/java/org/jbundle/jbackup/destination/ZipDestination.java
public String getBackupFilename()
	{
		Date now = new Date();
		String strDate = Util.dateToString(now);
		for (int i = 0; i < strDate.length(); i++)
		{
			char ch = strDate.charAt(i);
			if (!Character.isLetterOrDigit(ch))
				strDate = strDate.substring(0, i) + '_' + strDate.substring(i + 1, strDate.length());
		}
		return "backup" + strDate + ".zip";
	}
public String getBackupFilename()
	{
		Date now = new Date();
		String strDate = Util.dateToString(now);
		for (int i = 0; i < strDate.length(); i++)
		{
			char ch = strDate.charAt(i);
			if (!Character.isLetterOrDigit(ch))
				strDate = strDate.substring(0, i) + '_' + strDate.substring(i + 1, strDate.length());
		}
		return "backup" + strDate + ".zip";
	}
public String getBackupFilename ( ) { Date now = new Date ( ) ; String strDate = Util . dateToString ( now ) ; for ( int i = 0 ; i < strDate . length ( ) ; i ++ ) { char ch = strDate . charAt ( i ) ; if ( ! Character . isLetterOrDigit ( ch ) ) strDate = strDate . substring ( 0 , i ) + ' ' + strDate . substring ( i + 1 , strDate . length ( ) ) ; } return "backup" + strDate + ".zip" ; }
/*
Add the files to the backup file
/ * Add the files to the backup file