|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.in.DataInputFilter
visad.data.in.Selector
public class Selector
Provides support for removing unwanted VisAD data objects from a stream of VisAD data objects.
Instances are modifiable.
| Constructor Summary | |
|---|---|
Selector(DataInputStream source)
Constructs from an upstream data source. |
|
| Method Summary | |
|---|---|
DataImpl |
readData()
Returns the next VisAD data object in the input stream that satisfies the selection condition. |
void |
setCondition(Condition condition)
Sets the condition for passing VisAD data objects. |
| Methods inherited from class visad.data.in.DataInputFilter |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Selector(DataInputStream source)
throws VisADException
Condition.TRIVIAL_CONDITION.
source - The upstream data source. May not be
null.
VisADException - The upstream data source is null.| Method Detail |
|---|
public void setCondition(Condition condition)
condition - The pass/reject condition.
public DataImpl readData()
throws VisADException,
RemoteException
null if there is no such
object.
null if
there are no more such objects.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||