|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectspv.spectrum.factory.FileDescriptor
spv.spectrum.factory.GHRSFOS.GHRSFOSFileDescriptor
public class GHRSFOSFileDescriptor
Class used to store and manipulate FileDescriptor
objects that describe GHRS and FOS spectra. In this case the
descriptor consists solely of the name of the flux file itself
(.c1h) followed by the group(s) specification.
| Field Summary | |
|---|---|
private java.lang.String |
name
|
private int |
ngrp
|
| Constructor Summary | |
|---|---|
GHRSFOSFileDescriptor(java.lang.String filename,
int ngroups)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
Returns the file name. |
FileView |
getFileView(SpectrumSelector ss,
java.awt.Component comp)
Returns a view (GUI) into the file. |
java.lang.String |
getLabelString()
Returns the labeling string. |
int |
getNExtens()
Returns the number of extensions in the file. |
int |
getNSpectra(int dummy)
Returns the number of spectra stored in the file. |
java.lang.String[] |
getSpecRepresentation(int group,
int ext)
Returns a 1-line ASCII representation of the spectrum. |
SpectrumSpecification |
getSpectrumSpecification(java.net.URL url,
int ext,
int[] index)
Returns a SpectrumSpecification object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String name
private int ngrp
| Constructor Detail |
|---|
public GHRSFOSFileDescriptor(java.lang.String filename,
int ngroups)
filename - the file name with no qualificationsngroups - the number of groups| Method Detail |
|---|
public FileView getFileView(SpectrumSelector ss,
java.awt.Component comp)
null.
getFileView in class FileDescriptorss - the spectrum selector that calls thiscomp - the component used for screen positioning
null.
public SpectrumSpecification getSpectrumSpecification(java.net.URL url,
int ext,
int[] index)
SpectrumSpecification object.
getSpectrumSpecification in class FileDescriptorurl - the URLext - ignoredindex - array with FITS extension indices
SpectrumSpecification objectpublic java.lang.String getLabelString()
getLabelString in class FileDescriptorpublic java.lang.String getFileName()
getFileName in class FileDescriptorpublic int getNExtens()
getNExtens in class FileDescriptorpublic int getNSpectra(int dummy)
getNSpectra in class FileDescriptordummy - anything
public java.lang.String[] getSpecRepresentation(int group,
int ext)
getSpecRepresentation in class FileDescriptorgroup - the group numberext - not used
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||