Package jcifs.netbios
Class Name
- java.lang.Object
-
- jcifs.netbios.Name
-
- All Implemented Interfaces:
NetbiosName
public class Name extends Object implements NetbiosName
-
-
Constructor Summary
Constructors Constructor Description Name(Configuration cfg, String name, int hexCode, String scope)Name(Configuration cfg, NetbiosName name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetName()intgetNameType()StringgetScope()inthashCode()booleanisUnknown()StringtoString()
-
-
-
Constructor Detail
-
Name
public Name(Configuration cfg, String name, int hexCode, String scope)
- Parameters:
cfg-name-hexCode-scope-
-
Name
public Name(Configuration cfg, NetbiosName name)
- Parameters:
cfg-name-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceNetbiosName- Returns:
- the name
-
getScope
public String getScope()
- Specified by:
getScopein interfaceNetbiosName- Returns:
- scope id
-
getNameType
public int getNameType()
- Specified by:
getNameTypein interfaceNetbiosName- Returns:
- the name type
-
isUnknown
public boolean isUnknown()
- Returns:
- whether this is the unknown address
-
-