Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 94 for SmbFile (0.04 sec)

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

         * @param name the name of the file
         * @return whether the given filename should be included
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept(final SmbFile file) throws SmbException {
            return (file.getAttributes() & attributes) != 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java

         * @param name the name of the file
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Handler.java

        @Override
        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
    
        @Override
        public URLConnection openConnection(final URL u) throws IOException {
            return new SmbFile(u);
        }
    
        @Override
        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
            String path, ref;
            int port;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. docs/smb3-features/06-witness-protocol-design.md

        // Requires cluster environment for testing
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useWitness", "true");
        
        SmbFile file = new SmbFile("smb://cluster-server/share/test.txt", context);
        file.createNewFile();
        
        // Monitor for witness notifications
        TestWitnessListener listener = new TestWitnessListener();
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Config.java

         *     at java.net.URL.<init>(URL.java:480)
         *     at java.net.URL.<init>(URL.java:376)
         *     at java.net.URL.<init>(URL.java:330)
         *     at jcifs.smb.SmbFile.<init>(SmbFile.java:355)
         *     ...
         * </pre>
         * </blockquote>
         */
        public static void registerSmbURLHandler() {
            SingletonContext.registerSmbURLHandler();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Handler.java

        }
    
        @Override
        public URLConnection openConnection(final URL u) throws IOException {
            if (log.isDebugEnabled()) {
                log.debug("Opening file " + u);
            }
            return new SmbFile(u, getTransportContext());
        }
    
        /**
         * @return
         */
        private CIFSContext getTransportContext() {
            if (this.transportContext == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/Config.java

         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
         *     at java.net.URL.&lt;init&gt;(URL.java:330)
         *     at jcifs.smb1.smb1.SmbFile.&lt;init&gt;(SmbFile.java:355)
         *     ...
         * </pre></blockquote>
         */
    
        public static void registerSmbURLHandler() {
            String ver, pkgs;
    
            ver = System.getProperty("java.version");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NetServerEnumIterator.java

         * @param filter
         *            optional resource name filter
         * @throws CIFSException
         *            if enumeration fails
         */
        public NetServerEnumIterator(final SmbFile parent, final SmbTreeHandleImpl th, final String wildcard, final int searchAttributes,
                final ResourceNameFilter filter) throws CIFSException {
            this.parent = parent;
            this.nameFilter = filter;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top