class J2EETempFileFactory implements TemporaryFileFactory {

    public File prepareTempFile(String desiredName) {

	if (desiredName == null || desiredName.length() == 0) {
	    throw new IllegalArgumentException(
		    String
			    .format(
				    "The desired name of a temporary file must not be null or empty (was: '%s')",
				    desiredName));
	}

	return new File(getTempFileDir(), desiredName);
    }

      J2EETempFileFactory(String tempFileDirID);

}