Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for countTokens (0.19 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());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Config.java

            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();
                    try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
  3. 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 {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  4. 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());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
Back to top