public class IlluminantImporter
extends java.lang.Object
CIEIlluminant
s are located
com.oceanoptics.spam.constants.CIEIlluminant.Constructor and Description |
---|
IlluminantImporter()
Creates a new instance of IlluminantImporter
|
Modifier and Type | Method and Description |
---|---|
CIEIlluminant |
readIlluminantASCIIFile(java.io.File file,
java.lang.String shortDescOrLocalizer,
java.lang.String longDescOrLocalizer,
java.lang.String reference)
This method reads in all the CIE Illuminants from an ASCII File.
|
public IlluminantImporter()
public CIEIlluminant readIlluminantASCIIFile(java.io.File file, java.lang.String shortDescOrLocalizer, java.lang.String longDescOrLocalizer, java.lang.String reference) throws java.io.FileNotFoundException, java.io.IOException
file
- the file to read in.shortDescOrLocalizer
- the short description for the illuminant
(such as A, B, D50, F6, etc).longDescOrLocalizer
- the full name for the illuminant (such as
Tungsten at 2856K, Noon Sky Daylight, etc.)reference
- the citation for the source of these constants.java.io.FileNotFoundException
- if the file cannot be found.java.io.IOException
- if an I/O error has occurredCopyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.