Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getInetAddressArray (0.58 sec)

  1. src/test/java/jcifs/ConfigTest.java

            InetAddress[] result = Config.getInetAddressArray(testProperties, "test.hosts", ",", defaultArray);
            assertEquals(2, result.length);
            assertEquals(InetAddress.getByName("localhost"), result[0]);
            assertEquals(InetAddress.getByName("127.0.0.1"), result[1]);
    
            result = Config.getInetAddressArray(testProperties, "nonexistent.hosts", ",", defaultArray);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Config.java

         * @param def the default value to return if key is not found
         * @return an array of InetAddress objects or the default value
         */
        public static InetAddress[] getInetAddressArray(final Properties props, final String key, final String delim, final InetAddress[] def) {
            final String p = props.getProperty(key);
            if (p != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

         * @param def the default array to return if the property is not found or cannot be parsed
         * @return an array of InetAddress objects, or the default array
         */
    
        public static InetAddress[] getInetAddressArray(final String key, final String delim, final InetAddress[] def) {
            final String p = getProperty(key);
            if (p != null) {
                final StringTokenizer tok = new StringTokenizer(p, delim);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * is provided. This is the behavior of Microsoft Windows machines.
         */
    
        public static final int H_NODE = 3;
    
        static final InetAddress[] NBNS = Config.getInetAddressArray("jcifs.smb1.netbios.wins", ",", new InetAddress[0]);
    
        /* Construct the shared static client object that will
         * conduct all encoding and decoding of NetBIOS name service
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top