com.teamdev.jxcapture
Class Format

java.lang.Object
  extended by com.teamdev.jxcapture.Format
Direct Known Subclasses:
Codec, ImageFormat, VideoFormat

public abstract class Format
extends java.lang.Object

Defines id, name and description of an object.


Constructor Summary
protected Format(java.lang.Object id)
           
protected Format(java.lang.Object id, java.lang.String name)
           
protected Format(java.lang.Object id, java.lang.String name, java.lang.String description)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDescription()
          Returns description of this object.
 java.lang.Object getId()
          Returns ID of this object.
 java.lang.String getName()
          Returns name of this object.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Format

protected Format(java.lang.Object id,
                 java.lang.String name,
                 java.lang.String description)

Format

protected Format(java.lang.Object id,
                 java.lang.String name)

Format

protected Format(java.lang.Object id)
Method Detail

getId

public java.lang.Object getId()
Returns ID of this object.

Returns:
id object

getName

public java.lang.String getName()
Returns name of this object.

Returns:
name string

getDescription

public java.lang.String getDescription()
Returns description of this object.

Returns:
description string

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object