jbackup/src/main/java/org/jbundle/jbackup/destination/ZipDestination.java
public void init(Properties properties)
	{
		super.init(properties);
		String strPathname = properties.getProperty(ZIPOUT_PATHNAME_PARAM);
		if (strPathname == null)
		{
			strPathname = System.getProperties().getProperty("java.io.tmpdir", "c:/Temp");
			properties.setProperty(ZIPOUT_PATHNAME_PARAM, strPathname);
		}

		String strFilename = properties.getProperty(ZIPOUT_FILENAME_PARAM);
		if (strFilename == null)
		{
			strFilename = "[automatic]";
			properties.setProperty(ZIPOUT_FILENAME_PARAM, strFilename);
		}
	}
public void init(Properties properties)
	{
		super.init(properties);
		String strPathname = properties.getProperty(ZIPOUT_PATHNAME_PARAM);
		if (strPathname == null)
		{
			strPathname = System.getProperties().getProperty("java.io.tmpdir", "c:/Temp");
			properties.setProperty(ZIPOUT_PATHNAME_PARAM, strPathname);
		}

		String strFilename = properties.getProperty(ZIPOUT_FILENAME_PARAM);
		if (strFilename == null)
		{
			strFilename = "[automatic]";
			properties.setProperty(ZIPOUT_FILENAME_PARAM, strFilename);
		}
	}
public void init ( Properties properties ) { super . init ( properties ) ; String strPathname = properties . getProperty ( ZIPOUT_PATHNAME_PARAM ) ; if ( strPathname == null ) { strPathname = System . getProperties ( ) . getProperty ( "java.io.tmpdir" , "c:/Temp" ) ; properties . setProperty ( ZIPOUT_PATHNAME_PARAM , strPathname ) ; } String strFilename = properties . getProperty ( ZIPOUT_FILENAME_PARAM ) ; if ( strFilename == null ) { strFilename = "[automatic]" ; properties . setProperty ( ZIPOUT_FILENAME_PARAM , strFilename ) ; } }
/*
Get everything ready.
/ * Get everything ready .