Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for SmbFileInputStream (0.23 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     * the smb URL syntax.
     *
     * @param file An <code>SmbFile</code> specifying the file to read from
     */
    
        public SmbFileInputStream( SmbFile file ) throws SmbException, MalformedURLException, UnknownHostException {
            this( file, SmbFile.O_RDONLY );
        }
    
        SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

    import jcifs.util.transport.TransportException;
    
    
    /**
     * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits.
     */
    public class SmbFileInputStream extends InputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileInputStream.class);
    
        private SmbFileHandleImpl handle;
        private long fp;
        private int readSize, readSizeFile, openFlags, access, sharing;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Lmhosts.java

    import java.io.InputStreamReader;
    import java.io.Reader;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.util.Hashtable;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.smb1.SmbFileInputStream;
    import jcifs.smb1.util.LogStream;
    
    import java.net.UnknownHostException;
    
    public class Lmhosts {
    
        private static final String FILENAME = Config.getProperty( "jcifs.smb1.netbios.lmhosts" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

    import jcifs.SID;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbFileInputStream;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbClient extends AbstractCrawlerClient {
        private static final Logger logger = LoggerFactory.getLogger(SmbClient.class);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.smb1.*;
    import jcifs.smb1.util.*;
    
    import java.io.*;
    
    public class DcerpcPipeHandle extends DcerpcHandle {
    
        SmbNamedPipe pipe;
        SmbFileInputStream in = null;
        SmbFileOutputStream out = null;
        boolean isStart = true;
    
        public DcerpcPipeHandle(String url,
                    NtlmPasswordAuthentication auth)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/Lmhosts.java

    import java.io.InputStreamReader;
    import java.io.Reader;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.smb.SmbFileInputStream;
    
    
    /**
     * 
     *
     */
    public class Lmhosts {
    
        private static final Logger log = LoggerFactory.getLogger(Lmhosts.class);
    
        private final Map<Name, NbtAddress> table = new HashMap<>();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

    import jcifs.smb1.smb1.ACE;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SID;
    import jcifs.smb1.smb1.SmbException;
    import jcifs.smb1.smb1.SmbFile;
    import jcifs.smb1.smb1.SmbFileInputStream;
    import jcifs.smb1.util.LogStream;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbClient extends AbstractCrawlerClient {
        private static final Logger logger = LoggerFactory.getLogger(SmbClient.class);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

            byte[] buf = new byte[8192];
    
            @SuppressWarnings ( "resource" )
            ServletOutputStream out = resp.getOutputStream();
            String url;
            int n;
            try ( SmbFileInputStream in = new SmbFileInputStream(file) ) {
                url = file.getLocator().getPath();
                resp.setContentType("text/plain");
                resp.setContentType(URLConnection.guessContentTypeFromName(url));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeInputStream.java

    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.ioctl.SrvPipePeekResponse;
    
    
    /**
     * @author mbechler
     *
     */
    public class SmbPipeInputStream extends SmbFileInputStream {
    
        private SmbPipeHandleImpl handle;
    
    
        /**
         * @param handle
         * @param th
         * @throws SmbException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

    package jcifs.smb1.smb1;
    
    import java.io.InputStream;
    import java.io.IOException;
    import java.net.UnknownHostException;
    import java.net.MalformedURLException;
    
    class TransactNamedPipeInputStream extends SmbFileInputStream {
    
        private static final int INIT_PIPE_SIZE = 4096;
    
        private byte[] pipe_buf = new byte[INIT_PIPE_SIZE];
        private int beg_idx, nxt_idx, used;
        private boolean dcePipe;
    
        Object lock;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
Back to top