How do you calculate the power and energy of a signal given only the frequency domain form of the signal function? For the purposes of this question, please do not assume that it is possible to find a closed form representation of the inverse fourier transform time domain function. Or, in other words, assuming you cannot look at the time domain at all, how can you derive power and energy from the frequency domain representation of a function?
To add some clarification:
Rayleigh's Property:
$$\int_{-\infty}^{\infty}|x(t)|^2dt = \int_{-\infty}^{\infty}|X(f)|^2df$$
Definitions of Power and Energy:
$$E_x = \lim_{T\to\infty}\int_{-T}^{T}|x(t)|^2dt$$
$$P_x = \lim_{T\to\infty}\frac{1}{2T}\int_{-T}^{T}|x(t)|^2dt$$
Since the limit approximates Rayleigh's property, it seems it should be possible to find Energy and maybe power even if you cannot access the time domain function.