Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for countTokens (0.14 sec)

  1. src/main/java/jcifs/smb/SID.java

         * 
         * @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);
    
            this.revision = Byte.parseByte(st.nextToken());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/Config.java

            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();
                    try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

         * <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt>.
         */
        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);
    
            this.revision = Byte.parseByte(st.nextToken());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
Back to top