- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for getLocator (0.09 sec)
-
src/test/java/jcifs/tests/FileLocationTest.java
SmbResource pp = new SmbFile(p.getParent(), getContext()) ) { assertEquals("smb://", p.getLocator().getParent()); assertEquals(SmbConstants.TYPE_WORKGROUP, pp.getLocator().getType()); assertNull(pp.getLocator().getServer()); assertNull(pp.getLocator().getShare()); } } @Test
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
return this.pipe.getContext(); } @Override public String getServer () { return this.pipe.getLocator().getServer(); } @Override public String getServerWithDfs () { return this.pipe.getLocator().getServerWithDfs(); } @Override public byte[] getSessionKey () throws CIFSException { return this.handle.getSessionKey();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jan 26 11:51:07 UTC 2020 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
try ( SmbResource r = it.next() ) { try ( SmbFile ndest = new SmbFile( dest, r.getLocator().getName(), true, r.getLocator().getType(), r.getAttributes(), r.createTime(), r.lastModified(), r.lastAccess(),
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo()); NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class); Assert.assertEquals("b@r", na.getPassword()); } try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) { Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
*/ @SuppressWarnings ( "resource" ) @Override protected FileEntry open () throws CIFSException { SmbTreeHandleImpl th = getTreeHandle(); String uncPath = getParent().getLocator().getUNCPath(); Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath); create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 16:15:08 UTC 2020 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
} @SuppressWarnings ( "resource" ) @Override protected final FileEntry open () throws CIFSException { SmbResourceLocator loc = this.getParent().getLocator(); String unc = loc.getUNCPath(); String p = loc.getURL().getPath(); if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) { throw new SmbException(loc.getURL() + " directory must end with '/'");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
/** * @param context * @param name */ private void setContext ( SmbResource context, String name ) { this.fileLocator.resolveInContext(context.getLocator(), name); if ( context.getLocator().getShare() != null && ( context instanceof SmbFile ) ) { this.treeConnection = SmbTreeConnection.create( ( (SmbFile) context ).treeConnection); } else {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
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)); resp.setHeader("Content-Length", file.length() + "");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
public SmbNamedPipe ( String url, int pipeType, boolean unshared, CIFSContext tc ) throws MalformedURLException { super(url, tc); this.pipeType = pipeType; setNonPooled(unshared); if ( !getLocator().isIPC() ) { throw new MalformedURLException("Named pipes are only valid on IPC$"); } this.fileLocator.updateType(TYPE_NAMED_PIPE); } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0)