Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for resource (0.15 sec)

  1. 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)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                throws CIFSException {
            super(th, parent, wildcard, filter, searchAttributes);
        }
    
    
        @SuppressWarnings ( "resource" )
        @Override
        protected final FileEntry open () throws CIFSException {
            SmbResourceLocator loc = this.getParent().getLocator();
            String unc = loc.getUNCPath();
            String p = loc.getURL().getPath();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/SmbResourceLocator.java

         *         resource or <code>smb://</code> if the resource is <code>smb://</code>
         *         itself.
         */
    
        String getName ();
    
    
        /**
         * 
         * @return dfs referral data
         */
        DfsReferralData getDfsReferral ();
    
    
        /**
         * Everything but the last component of the URL representing this SMB
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ResourceFilter.java

     */
    package jcifs;
    
    
    /**
     * Filter based on a resource instance
     * 
     * @author mbechler
     *
     */
    public interface ResourceFilter {
    
        /**
         * 
         * @param resource
         * @return whether the given resource should be included
         * @throws CIFSException
         */
        public boolean accept ( SmbResource resource ) throws CIFSException;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            }
            return results;
        }
    
    
        /**
         * @param th
         * @param parent
         * @param wildcard
         * @return
         * @throws CIFSException
         */
        @SuppressWarnings ( "resource" )
        @Override
        protected FileEntry open () throws CIFSException {
            SmbTreeHandleImpl th = getTreeHandle();
            String uncPath = getParent().getLocator().getUNCPath();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 16:15:08 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

        private boolean smb2;
    
    
        /**
         * @param url
         * @param tc
         *            context to use
         * @throws SmbException
         * @throws MalformedURLException
         */
        @SuppressWarnings ( "resource" )
        public SmbFileInputStream ( String url, CIFSContext tc ) throws SmbException, MalformedURLException {
            this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true);
        }
    
    
    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)
  10. src/main/java/jcifs/SmbPipeResource.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    
    /**
     * SMB resource respresenting a named pipe
     * 
     * @author mbechler
     *
     */
    public interface SmbPipeResource extends SmbResource {
    
        /**
         * The pipe should be opened read-only.
         */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
Back to top