Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for getType (0.23 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                AvPair p = it.next();
                if ( p.getType() == type ) {
                    it.remove();
                }
            }
        }
    
    
        /**
         * Replace all occurances of the given type
         * 
         * @param pairs
         * @param rep
         */
        public static void replace ( List<AvPair> pairs, AvPair rep ) {
            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbConstants.java

         * represents is a server.
         */
        static final int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
         * represents is a share.
         */
        static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

            return new SID(this, SID_TYPE_DOMAIN, this.domainName, null, getType() != SID_TYPE_DOMAIN);
        }
    
    
        /**
         * Get the RID
         * 
         * This is the last subauthority identifier
         * 
         * @return the RID
         */
        @Override
        public int getRid () {
            if ( getType() == SID_TYPE_DOMAIN )
                throw new IllegalArgumentException("This SID is a domain sid");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SidTest.java

            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getTestUser(), s.getAccountName());
            assertEquals(jcifs.SID.SID_TYPE_USER, s.getType());
        }
    
    
        @Test
        public void resolveGroupSID () throws IOException {
            String sid = getRequiredProperty(TestProperties.TEST_GROUP_SID);
            SID s = new SID(sid);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacSignature.java

        public static final int HMAC_SHA1_96_AES128 = 0x0000000F;
        public static final int HMAC_SHA1_96_AES256 = 0x00000010;
    
        public static final int ETYPE_ARCFOUR_HMAC = 23;
        public static final int ETYPE_AES128_CTS_HMAC_SHA1_96 = 17;
        public static final int ETYPE_AES256_CTS_HMAC_SHA1_96 = 18;
    
        private int type;
        private byte[] checksum;
    
    
        public PacSignature ( byte[] data ) throws PACDecodingException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileLocationTest.java

                SmbResourceLocator fl = p.getLocator();
                assertNull(fl.getServer());
                assertNull(fl.getShare());
                assertEquals(SmbConstants.TYPE_WORKGROUP, fl.getType());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://", fl.getCanonicalURL());
                assertEquals("/", fl.getURLPath());
            }
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
         * represents is a server.
         */
        public static final int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
         * represents is a share.
         */
        public static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  8. src/main/java/jcifs/ntlmssp/av/AvPair.java

         * @param raw
         */
        public AvPair ( int type, byte[] raw ) {
            this.type = type;
            this.raw = raw;
        }
    
    
        /**
         * @return the type
         */
        public final int getType () {
            return this.type;
        }
    
    
        /**
         * @return the raw
         */
        public final byte[] getRaw () {
            return this.raw;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/FileEntry.java

    package jcifs.smb1.smb1;
    
    public interface FileEntry {
    
        String getName();
        int getType();
        int getAttributes();
        long createTime();
        long lastModified();
        long length();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 191 bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                            assertEquals(SmbConstants.TYPE_SERVER, serv.getType());
                            assertTrue(serv.isDirectory());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top