- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isDotQuadIP (0.1 sec)
-
src/main/java/jcifs/netbios/UniAddress.java
/** * Check whether a hostname is actually an ip address * * @param hostname * @return whether this is an IP address */ public static boolean isDotQuadIP ( String hostname ) { if ( Character.isDigit(hostname.charAt(0)) ) { int i, len, dots; char[] data; i = dots = 0; /* quick IP address validation */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
*/ public static UniAddress getByName( String hostname ) throws UnknownHostException { return getByName( hostname, false ); } static boolean isDotQuadIP( String hostname ) { if( Character.isDigit( hostname.charAt( 0 ))) { int i, len, dots; char[] data; i = dots = 0; /* quick IP address validation */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
if ( hostname == null || hostname.length() == 0 ) { throw new UnknownHostException(); } if ( UniAddress.isDotQuadIP(hostname) ) { return new UniAddress[] { new UniAddress(getNbtByName(hostname)) }; } if ( log.isTraceEnabled() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0)