## org.das2.stream.StreamDescriptor

Represents the global properties of the stream, that are accessible to datasets within.

## StreamDescriptor( org.w3c.dom.Element element )

Creates a new instance of StreamProperties

## StreamDescriptor( )

## addYMulti

addYMulti( org.das2.stream.StreamScalarDescriptor y ) → void

### Parameters

y - a StreamScalarDescriptor

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## addYScan

addYScan( org.das2.stream.StreamYScanDescriptor y ) → void

### Parameters

y - a StreamYScanDescriptor

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## clone

clone( ) → Object

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## createHeader

createHeader( org.w3c.dom.Document document ) → String

### Parameters

document - a Document

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## createLegacyDescriptor

createLegacyDescriptor( java.io.BufferedReader in ) → org.das2.stream.StreamDescriptor

### Parameters

in - a BufferedReader

### Returns:

org.das2.stream.StreamDescriptor
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getCompression

getCompression( ) → String

Getter for property compression.

### Returns:

Value of property compression.
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDOMElement

getDOMElement( org.w3c.dom.Document document ) → org.w3c.dom.Element

### Parameters

document - a Document

### Returns:

org.w3c.dom.Element
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getProperties

getProperties( ) → java.util.Map

### Returns:

java.util.Map
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getProperty

getProperty( String name ) → Object

### Parameters

name - a String

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getSizeBytes

getSizeBytes( ) → int

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getXDescriptor

getXDescriptor( ) → org.das2.stream.StreamXDescriptor

### Returns:

org.das2.stream.StreamXDescriptor
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getYDescriptors

getYDescriptors( ) → java.util.List

### Returns:

java.util.List
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## parseHeader

parseHeader( java.io.Reader header ) → org.w3c.dom.Document

### Parameters

header - a Reader

### Returns:

org.w3c.dom.Document
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## read

read( java.nio.ByteBuffer input ) → org.das2.datum.DatumVector

### Parameters

input - a ByteBuffer

### Returns:

org.das2.datum.DatumVector
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setCompression

setCompression( String compression ) → void

Setter for property compression.

### Parameters

compression - New value of property compression.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setProperty

setProperty( String name, Object value ) → void

### Parameters

name - a String
value - an Object

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setXDescriptor

setXDescriptor( org.das2.stream.StreamXDescriptor x ) → void

### Parameters

x - a StreamXDescriptor

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## toString

toString( ) → String

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## write

write( org.das2.datum.DatumVector input, java.nio.ByteBuffer output ) → void

### Parameters

input - a DatumVector
output - a ByteBuffer

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]