|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.das2.stream.StreamDescriptor
public class StreamDescriptor
Represents the global properties of the stream, that are accessible to datasets within.
| Constructor Summary | |
|---|---|
StreamDescriptor()
|
|
StreamDescriptor(org.w3c.dom.Element element)
Creates a new instance of StreamProperties |
|
| Method Summary | |
|---|---|
void |
addYMulti(StreamMultiYDescriptor y)
|
void |
addYScan(StreamYScanDescriptor y)
|
java.lang.Object |
clone()
|
static java.lang.String |
createHeader(org.w3c.dom.Document document)
|
static StreamDescriptor |
createLegacyDescriptor(java.io.BufferedReader in)
|
java.lang.String |
getCompression()
Getter for property compression. |
org.w3c.dom.Element |
getDOMElement(org.w3c.dom.Document document)
|
java.util.Map |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String name)
|
int |
getSizeBytes()
|
StreamXDescriptor |
getXDescriptor()
|
java.util.List |
getYDescriptors()
|
static org.w3c.dom.Document |
parseHeader(java.io.Reader header)
|
DatumVector |
read(java.nio.ByteBuffer input)
|
void |
setCompression(java.lang.String compression)
Setter for property compression. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
void |
setXDescriptor(StreamXDescriptor x)
|
void |
write(DatumVector input,
java.nio.ByteBuffer output)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamDescriptor(org.w3c.dom.Element element)
throws StreamException
StreamExceptionpublic StreamDescriptor()
| Method Detail |
|---|
public StreamXDescriptor getXDescriptor()
public void setXDescriptor(StreamXDescriptor x)
public void addYScan(StreamYScanDescriptor y)
public void addYMulti(StreamMultiYDescriptor y)
public java.util.List getYDescriptors()
public java.lang.Object getProperty(java.lang.String name)
getProperty in interface SkeletonDescriptorpublic java.util.Map getProperties()
getProperties in interface SkeletonDescriptor
public void setProperty(java.lang.String name,
java.lang.Object value)
public static org.w3c.dom.Document parseHeader(java.io.Reader header)
throws DasIOException,
DasStreamFormatException
DasIOException
DasStreamFormatExceptionpublic int getSizeBytes()
getSizeBytes in interface SkeletonDescriptorpublic DatumVector read(java.nio.ByteBuffer input)
read in interface SkeletonDescriptor
public void write(DatumVector input,
java.nio.ByteBuffer output)
write in interface SkeletonDescriptor
public static StreamDescriptor createLegacyDescriptor(java.io.BufferedReader in)
throws java.io.IOException
java.io.IOException
public static java.lang.String createHeader(org.w3c.dom.Document document)
throws DasIOException
DasIOExceptionpublic java.lang.String getCompression()
public void setCompression(java.lang.String compression)
compression - New value of property compression.public org.w3c.dom.Element getDOMElement(org.w3c.dom.Document document)
getDOMElement in interface SkeletonDescriptorpublic java.lang.Object clone()
clone in interface SkeletonDescriptorclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||