Module jcifs

Enum Class ResolverType

java.lang.Object
java.lang.Enum<ResolverType>
org.codelibs.jcifs.smb.ResolverType
All Implemented Interfaces:
Serializable, Comparable<ResolverType>, Constable

public enum ResolverType extends Enum<ResolverType>
Enumeration of usable resolver types
Author:
mbechler
  • Enum Constant Details

    • RESOLVER_WINS

      public static final ResolverType RESOLVER_WINS
      Resolve using WINS server
    • RESOLVER_BCAST

      public static final ResolverType RESOLVER_BCAST
      NETBIOS broadcast
    • RESOLVER_DNS

      public static final ResolverType RESOLVER_DNS
      DNS
    • RESOLVER_LMHOSTS

      public static final ResolverType RESOLVER_LMHOSTS
      LMHosts file lookup
  • Method Details

    • values

      public static ResolverType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ResolverType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null