Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for CloseableIterator (0.1 sec)

  1. src/main/java/jcifs/CloseableIterator.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    
    import java.util.Iterator;
    
    
    /**
     * @author mbechler
     * @param <T>
     *
     */
    public interface CloseableIterator <T> extends Iterator<T>, AutoCloseable {
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close () throws CIFSException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/ShareEnumIterator.java

    import java.util.Iterator;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    
    
    class ShareEnumIterator implements CloseableIterator<SmbResource> {
    
        private static final Logger log = LoggerFactory.getLogger(ShareEnumIterator.class);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

    import java.net.MalformedURLException;
    
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    
    
    class DirFileEntryAdapterIterator extends FileEntryAdapterIterator {
    
        /**
         * @param parent
         * @param delegate
         * @param filter
         */
        public DirFileEntryAdapterIterator ( SmbResource parent, CloseableIterator<FileEntry> delegate, ResourceFilter filter ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/EmptyIterator.java

        public SmbResource next () {
            return null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CloseableIterator#close()
         */
        @Override
        public void close () throws CIFSException {}
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CloseableIterator#remove()
         */
        @Override
        public void remove() {
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Oct 16 10:32:35 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.SmbResource;
    
    
    abstract class FileEntryAdapterIterator implements CloseableIterator<SmbResource> {
    
        private static final Logger log = LoggerFactory.getLogger(FileEntryAdapterIterator.class);
    
        private final CloseableIterator<FileEntry> delegate;
        private final ResourceFilter filter;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/EnumTest.java

                    }
                }
    
                Set<String> names = new HashSet<>();
                try ( CloseableIterator<SmbResource> chld = f.children() ) {
                    while ( chld.hasNext() ) {
    
                        try ( SmbResource next = chld.next() ) {
                            try ( CloseableIterator<SmbResource> children = next.children() ) {}
                            names.add(next.getName());
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NetServerEnumIterator.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    import jcifs.internal.smb1.net.NetServerEnum2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

    import java.util.List;
    import java.util.Set;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    import jcifs.dcerpc.DcerpcException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    
    
    /**
     * @author mbechler
     *
     */
    public abstract class DirFileEntryEnumIteratorBase implements CloseableIterator<FileEntry> {
    
        private static final Logger log = LoggerFactory.getLogger(DirFileEntryEnumIteratorBase.class);
    
    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/SmbCopyUtil.java

     */
    package jcifs.smb;
    
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.smb1.com.SmbComSetInformation;
    import jcifs.internal.smb1.com.SmbComSetInformationResponse;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
Back to top