- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for SmbFileInputStream (0.32 sec)
-
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;
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun May 17 08:55:14 GMT 2020 - 13.2K bytes - Viewed (0) -
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;
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.9K bytes - Viewed (0) -
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" );
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 5.8K bytes - Viewed (0) -
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<>();
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.1K bytes - Viewed (0) -
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)
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 3.7K bytes - Viewed (0) -
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 */
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun Aug 05 07:12:23 GMT 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} } try ( SmbFileHandleImpl sfd = src.openUnshared(0, SmbConstants.O_RDONLY, SmbConstants.FILE_SHARE_READ, SmbConstants.ATTR_NORMAL, 0); SmbFileInputStream fis = new SmbFileInputStream(src, sh, sfd) ) { int attrs = src.getAttributes(); try ( SmbFileHandleImpl dfd = openCopyTargetFile(dest, attrs, false);
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
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;
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 4.6K bytes - Viewed (0) -
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));
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
return new SmbFileInputStream(this); } @Override public SmbFileInputStream openInputStream ( int sharing ) throws SmbException { return openInputStream(0, O_RDONLY, sharing); } @Override public SmbFileInputStream openInputStream ( int flags, int access, int sharing ) throws SmbException {
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0)