org.bouncycastle.asn1

## Class OIDTokenizer

- java.lang.Object
- - org.bouncycastle.asn1.OIDTokenizer

- Deprecated.
  Will be removed

      public class OIDTokenizer
      extends java.lang.Object

  Class for breaking up an OID into it's component tokens, ala java.util.StringTokenizer. We need this class as some of the lightweight Java environment don't support classes like StringTokenizer.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OIDTokenizer(java.lang.String oid)` Deprecated. Base constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasMoreTokens()` Deprecated. Return whether or not there are more tokens in this tokenizer.
    `java.lang.String` | `nextToken()` Deprecated. Return the next token in the underlying String.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OIDTokenizer

          public OIDTokenizer(java.lang.String oid)

      Deprecated.
      Base constructor.
      Parameters:
        `oid` - the string representation of the OID.

  - ### Method Detail

    - #### hasMoreTokens

          public boolean hasMoreTokens()

      Deprecated.
      Return whether or not there are more tokens in this tokenizer.
      Returns:
        true if there are more tokens, false otherwise.

    - #### nextToken

          public java.lang.String nextToken()

      Deprecated.
      Return the next token in the underlying String.
      Returns:
        the next token.