public static Builder with(FileDetails template) {
		return new Builder().formatName(template.getFormatName()).extension(template.getExtension()).mediaType(template.getMediaType()).properties(template.getProperties());
	}
public static Builder with ( FileDetails template ) { return new Builder ( ) . formatName ( template . getFormatName ( ) ) . extension ( template . getExtension ( ) ) . mediaType ( template . getMediaType ( ) ) . properties ( template . getProperties ( ) ) ; }
Creates a new builder with the same details as the supplied file.
@param template the details
@return returns a new builder