Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for resources (0.29 sec)

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

         */
        public void open () throws CIFSException {
            try ( SmbFileHandleImpl fh = ensureOpen() ) {}
        }
    
    
        /**
         * Closes this output stream and releases any system resources associated
         * with it.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void close () throws IOException {
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
            return ioe;
        }
    
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void close () throws IOException {
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbPipeHandleInternal#sendrecv(byte[], int, int, byte[], int)
         */
        @SuppressWarnings ( "resource" )
        @Override
        public int sendrecv ( byte[] buf, int off, int length, byte[] inB, int maxRecvSize ) throws IOException {
            try ( SmbFileHandleImpl fh = ensureOpen();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                    CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                    DfsReferralData initial = null;
                    @SuppressWarnings ( "resource" )
                    SmbTransportInternal trans = dc != null ? dc.unwrap(SmbTransportInternal.class) : null;
                    if ( trans != null ) {
                        // get domain referral
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

         * exists and is not marked read-only. By default, resources are
         * considered to be read-only and therefore for <code>smb://</code>,
         * <code>smb://workgroup/</code>, and <code>smb://server/</code> resources
         * will be read-only.
         *
         * @return <code>true</code> if the resource exists is not marked
         *         read-only
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            }, ff == null ? null : new ResourceFilter() {
    
                @Override
                public boolean accept ( SmbResource resource ) throws CIFSException {
                    if ( ! ( resource instanceof SmbFile ) ) {
                        return false;
                    }
                    return ff.accept((SmbFile) resource);
                }
            }) ) {
    
                List<String> list = new ArrayList<>();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

         * 
         * Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these
         * resources, however comes at the cost of having to properly release all SmbFile instances you no longer need.
         * 
         * @return whether to use strict resource lifecycle
         */
        boolean isStrictResourceLifecycle ();
    
    
        /**
         * This is solely intended for debugging
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

            }
        }
    
    
        /**
         * @param src
         * @param dest
         * @param sh
         * @param dh
         * @throws SmbException
         */
        @SuppressWarnings ( "resource" )
        private static void serverSideCopy ( SmbFile src, SmbFile dest, SmbTreeHandleImpl sh, SmbTreeHandleImpl dh, boolean write ) throws CIFSException {
            log.debug("Trying server side copy");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

        public static final int SE_GROUP_ENABLED = 4;
        public static final int SE_GROUP_OWNER = 8;
        public static final int SE_GROUP_USE_FOR_DENY_ONLY = 16;
        public static final int SE_GROUP_RESOURCE = 536870912;
        public static final int SE_GROUP_LOGON_ID = -1073741824;
    
        public static class SamrRidWithAttribute extends NdrObject {
    
            public int rid;
            public int attributes;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbFileInputStream;
    
    
    /**
     * This servlet may be used to "browse" the entire hierarchy of resources
     * on an SMB network like one might with Network Neighborhood or Windows
     * Explorer. The users credentials with be negotiated using NTLM SSP if
     * the client is Microsoft Internet Explorer.
     * 
     * @deprecated Unsupported
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
Back to top