Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for FileEntry (0.1 sec)

  1. 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();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 191 bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/FileEntry.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    /**
     * 
     * 
     *
     */
    public interface FileEntry {
    
        /**
         * 
         * @return the file name
         */
        String getName ();
    
    
        /**
         * 
         * @return the file type
         */
        int getType ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        }
    
    
        /**
         * @return the results
         */
        public final FileEntry[] getResults () {
            return this.results;
        }
    
    
        /**
         * @param results
         *            the results to set
         */
        protected final void setResults ( FileEntry[] results ) {
            this.results = results;
        }
    
    
        @Override
        public void reset () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.FileEntry;
    
    
    /**
     * @author mbechler
     *
     */
    public class Smb2QueryDirectoryResponse extends ServerMessageBlock2Response {
    
        /**
         * 
         */
        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8;
    
        private final byte expectInfoClass;
        private FileEntry[] results;
    
    
        /**
         * @param config
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#getResults()
         */
        @Override
        protected FileEntry[] getResults () {
            FileEntry[] results = this.response.getResults();
            if ( results == null ) {
                return new FileEntry[0];
            }
            return results;
        }
    
    
        /**
         * @param th
         * @param parent
         * @param wildcard
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

     */
    
    package jcifs.internal.smb1.net;
    
    
    import java.util.Objects;
    
    import jcifs.SmbConstants;
    import jcifs.smb.FileEntry;
    import jcifs.util.Hexdump;
    
    
    /**
     * Internal use only
     * 
     * @internal
     */
    public class SmbShareInfo implements FileEntry {
    
        protected String netName;
        protected int type;
        protected String remark;
    
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Feb 17 09:30:57 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/ShareEnumIterator.java

        private final Iterator<FileEntry> delegate;
        private final ResourceFilter filter;
        private final SmbResource parent;
        private SmbResource next;
    
    
        /**
         * @param parent
         * @param delegate
         * @param filter
         * 
         */
        public ShareEnumIterator ( SmbResource parent, Iterator<FileEntry> delegate, ResourceFilter filter ) {
            this.parent = parent;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

        private final CloseableIterator<FileEntry> delegate;
        private final ResourceFilter filter;
        private final SmbResource parent;
        private SmbResource next;
    
    
        /**
         * @param parent
         * @param delegate
         * @param filter
         * 
         */
        public FileEntryAdapterIterator ( SmbResource parent, CloseableIterator<FileEntry> delegate, ResourceFilter filter ) {
            this.parent = parent;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                log.error("Failed to apply name filter", e);
                return false;
            }
        }
    
    
        protected final FileEntry advance ( boolean last ) throws CIFSException {
            FileEntry[] results = getResults();
            while ( this.ridx < results.length ) {
                FileEntry itm = results[ this.ridx ];
                this.ridx++;
                if ( filter(itm) ) {
                    return itm;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NetServerEnumIterator.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public FileEntry next () {
            FileEntry n = this.next;
            try {
                FileEntry ne = advance();
                if ( ne == null ) {
                    doClose();
                    return n;
                }
                this.next = ne;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
Back to top