public class PrairieMetadata.PFile
extends java.lang.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 java.lang.Integer |
channel
channel of this <File> . |
private java.lang.String |
channelName
channelName attribute of this <File> . |
private java.lang.String |
filename
filename attribute of this <File> . |
private PrairieMetadata.Frame |
frame
The
<Frame> containing this <File> . |
private java.lang.Double |
waveMax
wavelengthMax attribute of this <File> . |
private java.lang.Double |
waveMin
wavelengthMin attribute of this <File> . |
Constructor and Description |
---|
PFile(PrairieMetadata.Frame frame,
org.w3c.dom.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 . |
java.lang.String |
getChannelName()
Gets the
channelName associated with this File . |
java.lang.String |
getFilename()
Gets the
filename associated with this File . |
PrairieMetadata.Frame |
getFrame()
Gets the
<Frame> containing this <File> . |
java.lang.Double |
getWavelengthMax()
Gets the
wavelengthMax associated with this File . |
java.lang.Double |
getWavelengthMin()
Gets the
wavelengthMin associated with this File . |
void |
parse(org.w3c.dom.Element fileElement)
Parses metadata from the given
File element. |
private PrairieMetadata.Frame frame
<Frame>
containing this <File>
.private java.lang.Integer channel
channel
of this <File>
.private java.lang.String channelName
channelName
attribute of this <File>
.private java.lang.String filename
filename
attribute of this <File>
.private java.lang.Double waveMin
wavelengthMin
attribute of this <File>
.private java.lang.Double waveMax
wavelengthMax
attribute of this <File>
.public PFile(PrairieMetadata.Frame frame, org.w3c.dom.Element fileElement)
<File>
element.public PrairieMetadata.Frame getFrame()
<Frame>
containing this <File>
.public void parse(org.w3c.dom.Element fileElement)
File
element.public int getChannel()
channel
associated with this File
.public java.lang.String getChannelName()
channelName
associated with this File
.public java.lang.String getFilename()
filename
associated with this File
.public java.lang.Double getWavelengthMin()
wavelengthMin
associated with this File
.public java.lang.Double getWavelengthMax()
wavelengthMax
associated with this File
.Copyright © 2019 Open Microscopy Environment