public class NetBIOSNameList
extends java.lang.Object
Contains a list of NetBIOSName objects.
| Constructor and Description |
|---|
NetBIOSNameList()
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addName(NetBIOSName name)
Add a name to the list
|
NetBIOSName |
findName(char typ,
boolean group)
Find the first name of the specified type
|
NetBIOSName |
findName(java.lang.String name,
char typ,
boolean group)
Find the specified name and type
|
NetBIOSNameList |
findNames(char typ,
boolean group)
Find names of the specified type and return a subset of the available names
|
NetBIOSNameList |
findNames(java.lang.String name)
Find names of the specified name of different types and return a subset of the
available names.
|
byte[] |
getMACAddress()
Return the MAC address of the remote server
|
java.lang.String |
getMACAddressString()
Return the MAC address as a string in the format nn:nn:nn:nn:nn:nn
|
NetBIOSName |
getName(int idx)
Get a name from the list
|
boolean |
hasMACAddress()
Determine if the MAC address is valid
|
int |
numberOfNames()
Return the number of names in the list
|
void |
removeAllNames()
Delete all names from the list
|
NetBIOSName |
removeName(NetBIOSName name)
Remove a name from the list
|
void |
setMACAddress(byte[] mac)
Set the MAC address of the remote server
|
public final boolean hasMACAddress()
public final byte[] getMACAddress()
public final java.lang.String getMACAddressString()
public final void setMACAddress(byte[] mac)
mac - byte[]public final void addName(NetBIOSName name)
name - NetBIOSNamepublic final NetBIOSName getName(int idx)
idx - intpublic final int numberOfNames()
public final NetBIOSNameList findNames(java.lang.String name)
name - Stringpublic final NetBIOSName findName(char typ, boolean group)
typ - chargroup - booleanpublic final NetBIOSName findName(java.lang.String name, char typ, boolean group)
name - Stringtyp - chargroup - booleanpublic final NetBIOSNameList findNames(char typ, boolean group)
typ - chargroup - booleanpublic final NetBIOSName removeName(NetBIOSName name)
name - NetBIOSNamepublic final void removeAllNames()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.