Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isHidden (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

            this.type = type;
            this.remark = remark;
        }
        public String getName() {
            return netName;
        }
        public int getType() {
            /* 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
            switch (type & 0xFFFF) {
                case 1:
                    return SmbFile.TYPE_PRINTER;
                case 3:
                    return SmbFile.TYPE_NAMED_PIPE;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

         */
        @Override
        public int getFileIndex () {
            return 0;
        }
    
    
        @Override
        public int getType () {
            /*
             * 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
            switch ( this.type & 0xFFFF ) {
            case 1:
                return SmbConstants.TYPE_PRINTER;
            case 3:
                return SmbConstants.TYPE_NAMED_PIPE;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Feb 17 09:30:57 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    .name(NONE)
                    .text("None (disable MavenSecDispatcher)")
                    .add();
            for (DispatcherMeta meta : secDispatcher.availableDispatchers()) {
                if (!meta.isHidden()) {
                    listPromptBuilder
                            .newItem()
                            .name(meta.name())
                            .text(meta.displayName())
                            .add();
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileLocationTest.java

    
        // #87
        @Test
        public void testIPCHidden () throws MalformedURLException, CIFSException {
            try ( SmbResource r = new SmbFile("smb://0.0.0.0/IPC$/", getContext()) ) {
                assert ( r.isHidden() );
            }
        }
    
    
        @Test
        public void testSetAddress () throws MalformedURLException, CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

         * end with '$' such as <code>IPC$</code> or <code>C$</code>.
         *
         * @return <code>true</code> if the <code>SmbResource</code> is marked as being hidden
         * @throws CIFSException
         */
        boolean isHidden () throws CIFSException;
    
    
        /**
         * Tests to see if the file this <code>SmbResource</code> represents is not a directory.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * <code>smb1://workgroup/</code> lists servers, the <code>smb1://</code>
     * URL lists all available workgroups on a netbios LAN. Again,
     * in this context many methods are not valid and return default
     * values(e.g. <code>isHidden</code> will always return false).
     * </td></tr>
     * 
     * <tr><td width="20%"><code>smb1://angus.foo.net/d/jcifs/smb1/pipes.doc</code></td><td>
     * The server name may also be a DNS name as it is in this example. See
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                return false;
            }
            exists();
            return ( this.attributes & ATTR_DIRECTORY ) == 0;
        }
    
    
        @Override
        public boolean isHidden () throws SmbException {
            if ( this.fileLocator.getShare() == null ) {
                return false;
            }
            else if ( this.fileLocator.isRootOrShare() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top