fr.emn.reactiveinput.descriptor
Class DDFolder

java.lang.Object
  extended byfr.emn.reactiveinput.descriptor.DDFolder
All Implemented Interfaces:
DeviceDescriptor

public class DDFolder
extends java.lang.Object
implements DeviceDescriptor

Contains all devices belonging to a folder with the specified full name.

Wildcards accepted.


Field Summary
protected  java.lang.String name
           
 
Constructor Summary
DDFolder(DeviceFolder folder)
          Constructs a folder descriptor with the _full_ name of the given folder.
DDFolder(java.lang.String folderName)
           
 
Method Summary
 boolean contains(Device d)
          Returns true if this descriptor contains given device.
 java.lang.String getString()
          Returns the string form of this descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Constructor Detail

DDFolder

public DDFolder(DeviceFolder folder)
Constructs a folder descriptor with the _full_ name of the given folder.


DDFolder

public DDFolder(java.lang.String folderName)
Method Detail

contains

public boolean contains(Device d)
Description copied from interface: DeviceDescriptor
Returns true if this descriptor contains given device.

Specified by:
contains in interface DeviceDescriptor

getString

public java.lang.String getString()
Description copied from interface: DeviceDescriptor
Returns the string form of this descriptor.

Returns null if the descriptor is not valid (in all environments).

Specified by:
getString in interface DeviceDescriptor