Package jcifs.netbios
Class Lmhosts
- java.lang.Object
-
- jcifs.netbios.Lmhosts
-
public class Lmhosts extends Object
-
-
Constructor Summary
Constructors Constructor Description Lmhosts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NbtAddress
getByName(String host, CIFSContext tc)
This is really just forUniAddress
.
-
-
-
Method Detail
-
getByName
public NbtAddress getByName(String host, CIFSContext tc)
This is really just forUniAddress
. It does not throw anUnknownHostException
because this is queried frequently and exceptions would be rather costly to throw on a regular basis here.- Parameters:
host
-tc
-- Returns:
- resolved name, null if not found
-
-