Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for StringTokenizer (0.15 sec)

  1. src/main/java/jcifs/smb1/http/Handler.java

                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    String path = System.getProperty(HANDLER_PKGS_PROPERTY);
                    StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
                        String provider = tokenizer.nextToken().trim();
                        if (provider.equals("jcifs.smb1")) continue;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

                    this.resolverOrder.add(ResolverType.RESOLVER_WINS);
                    this.resolverOrder.add(ResolverType.RESOLVER_BCAST);
                }
            }
            else {
                StringTokenizer st = new StringTokenizer(ro, ",");
                while ( st.hasMoreTokens() ) {
                    String s = st.nextToken().trim();
                    if ( s.equalsIgnoreCase("LMHOSTS") ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

         */
    
        public static InetAddress[] getInetAddressArray( String key, String delim, InetAddress[] def ) {
            String p = getProperty( key );
            if( p != null ) {
                StringTokenizer tok = new StringTokenizer( p, delim );
                int len = tok.countTokens();
                InetAddress[] arr = new InetAddress[len];
                for( int i = 0; i < len; i++ ) {
                    String addr = tok.nextToken();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

            String includes = configProps.get(INCLUDES_PROPERTY);
            if (includes != null) {
                includes = substVars(includes, INCLUDES_PROPERTY, configProps, callback);
                StringTokenizer st = new StringTokenizer(includes, "?\",", true);
                if (st.countTokens() > 0) {
                    String location;
                    do {
                        location = nextLocation(st);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/Handler.java

                }
                if ( handler == null ) {
                    String path = System.getProperty(HANDLER_PKGS_PROPERTY);
                    StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while ( tokenizer.hasMoreTokens() ) {
                        String provider = tokenizer.nextToken().trim();
                        if ( provider.equals("jcifs") )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Config.java

        public static InetAddress[] getInetAddressArray ( Properties props, String key, String delim, InetAddress[] def ) {
            String p = props.getProperty(key);
            if ( p != null ) {
                StringTokenizer tok = new StringTokenizer(p, delim);
                int len = tok.countTokens();
                InetAddress[] arr = new InetAddress[len];
                for ( int i = 0; i < len; i++ ) {
                    String addr = tok.nextToken();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

                    resolveOrder[2] = RESOLVER_DNS;
                    resolveOrder[3] = RESOLVER_BCAST;
                }
            } else {
                int[] tmp = new int[4];
                StringTokenizer st = new StringTokenizer( ro, "," );
                int i = 0;
                while( st.hasMoreTokens() ) {
                    String s = st.nextToken().trim();
                    if( s.equalsIgnoreCase( "LMHOSTS" )) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SID.java

         * <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt>.
         * 
         * @param textual
         * @throws SmbException
         */
        public SID ( String textual ) throws SmbException {
            StringTokenizer st = new StringTokenizer(textual, "-");
            if ( st.countTokens() < 3 || !st.nextToken().equals("S") )
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    resolveOrder[1] = RESOLVER_WINS;
                    resolveOrder[2] = RESOLVER_BCAST;
                }
            } else {
                int[] tmp = new int[3];
                StringTokenizer st = new StringTokenizer( RO, "," );
                int i = 0;
                while( st.hasMoreTokens() ) {
                    String s = st.nextToken().trim();
                    if( s.equalsIgnoreCase( "LMHOSTS" )) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (isEmpty(str)) {
                return EMPTY_STRINGS;
            }
            final List<String> list = newArrayList();
            final StringTokenizer st = new StringTokenizer(str, delim);
            while (st.hasMoreElements()) {
                list.add(st.nextElement().toString());
            }
            return list.toArray(new String[list.size()]);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top