This article from Galaxy Scientific outlines how the components of fruit juice are analyzed using NIR spectroscopy.