disman
Class Language

java.lang.Object
  |
  +--disman.Language

public class Language
extends java.lang.Object


Constructor Summary
Language(Disman disman, int index)
          Create a Language object for a given Disman object and language index.
 
Method Summary
 java.lang.String getDescription()
          Return the description string (smLangDescr).
 int getIndex()
          Return the unique index part of the Language used in the smLangTable (smLangIndex).
 java.lang.String getOid()
          Return the object identifier of the Language object (smLangLanguage) as a dotted decimal string.
 java.lang.String getRevision()
          Return the revision of the Language object (smLangRevision).
 java.lang.String getVendor()
          Return the vendor of the Language object (smLangVendor) as a dotted decimal string.
 java.lang.String getVersion()
          Return the version of the Language object (smLangVersion).
 java.lang.String toString()
          Return a String representation of the Language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Language

public Language(Disman disman,
                int index)
Create a Language object for a given Disman object and language index.
Parameters:
disman - the associated Disman object
index - the index of in the language table
Method Detail

getIndex

public int getIndex()
Return the unique index part of the Language used in the smLangTable (smLangIndex).
Returns:
the index of this language in the language table

getOid

public java.lang.String getOid()
                        throws SnmpException,
                               java.io.IOException
Return the object identifier of the Language object (smLangLanguage) as a dotted decimal string.
Returns:
the object identifier of this language
Throws:
SnmpException - if an Snmp request fails
java.io.IOException - if a local I/O problem occurs

getVersion

public java.lang.String getVersion()
                            throws SnmpException,
                                   java.io.IOException
Return the version of the Language object (smLangVersion).
Returns:
the version of this language
Throws:
SnmpException - if an Snmp request fails
java.io.IOException - if a local I/O problem occurs

getVendor

public java.lang.String getVendor()
                           throws SnmpException,
                                  java.io.IOException
Return the vendor of the Language object (smLangVendor) as a dotted decimal string.
Returns:
a String representing the Vendor of this language
Throws:
SnmpException - if an Snmp request fails
java.io.IOException - if a local I/O problem occurs

getRevision

public java.lang.String getRevision()
                             throws SnmpException,
                                    java.io.IOException
Return the revision of the Language object (smLangRevision).
Returns:
the revision of this language
Throws:
SnmpException - if an Snmp request fails
java.io.IOException - if a local I/O problem occurs

getDescription

public java.lang.String getDescription()
                                throws SnmpException,
                                       java.io.IOException
Return the description string (smLangDescr).
Returns:
the description string of this language
Throws:
SnmpException - if an Snmp request fails
java.io.IOException - if a local I/O problem occurs

toString

public java.lang.String toString()
Return a String representation of the Language. Overrides java.lang.Object.
Overrides:
toString in class java.lang.Object
Returns:
a String representation of the Language object