public class PrairieMetadata.PFile extends Object
<File> beneath a <Frame>. It is called
PFile rather than File to avoid confusion with the
File class.| Modifier and Type | Field and Description |
|---|---|
private Integer |
channel
channel of this <File>. |
private String |
channelName
channelName attribute of this <File>. |
private String |
filename
filename attribute of this <File>. |
private PrairieMetadata.Frame |
frame
The
<Frame> containing this <File>. |
private Double |
waveMax
wavelengthMax attribute of this <File>. |
private Double |
waveMin
wavelengthMin attribute of this <File>. |
| Constructor and Description |
|---|
PFile(PrairieMetadata.Frame frame,
Element fileElement)
Creates a new file by parsing the given
<File> element. |
| Modifier and Type | Method and Description |
|---|---|
int |
getChannel()
Gets the
channel associated with this File. |
String |
getChannelName()
Gets the
channelName associated with this File. |
String |
getFilename()
Gets the
filename associated with this File. |
PrairieMetadata.Frame |
getFrame()
Gets the
<Frame> containing this <File>. |
Double |
getWavelengthMax()
Gets the
wavelengthMax associated with this File. |
Double |
getWavelengthMin()
Gets the
wavelengthMin associated with this File. |
void |
parse(Element fileElement)
Parses metadata from the given
File element. |
private PrairieMetadata.Frame frame
<Frame> containing this <File>.private Integer channel
channel of this <File>.private String channelName
channelName attribute of this <File>.private String filename
filename attribute of this <File>.private Double waveMin
wavelengthMin attribute of this <File>.private Double waveMax
wavelengthMax attribute of this <File>.public PFile(PrairieMetadata.Frame frame, Element fileElement)
<File> element.public PrairieMetadata.Frame getFrame()
<Frame> containing this <File>.public void parse(Element fileElement)
File element.public int getChannel()
channel associated with this File.public String getChannelName()
channelName associated with this File.public String getFilename()
filename associated with this File.public Double getWavelengthMin()
wavelengthMin associated with this File.public Double getWavelengthMax()
wavelengthMax associated with this File.Copyright © 2017 Open Microscopy Environment