- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for loc (0.17 sec)
-
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
@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 '/'"); } if ( unc.lastIndexOf('\\') != ( unc.length() - 1 ) ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Nov 13 15:13:49 GMT 2021 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
@Test public void transportReuseSimple () throws CIFSException { CIFSContext ctx = withTestNTLMCredentials(getContext()); String loc = getTestShareURL(); try ( SmbResource f1 = ctx.get(loc) ) { f1.exists(); try ( SmbResource f2 = ctx.get(loc) ) { f2.exists(); connectionMatches(f1, f2); } } } @Test
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
throws MalformedURLException, DcerpcException { return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()), ctx); } static FileEntry[] doDfsRootEnum ( CIFSContext ctx, SmbResourceLocator loc, Address address ) throws IOException {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jul 20 08:41:19 GMT 2019 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} String hostName = loc.getServerWithDfs(); String path = ( loc.getType() == SmbConstants.TYPE_SHARE || loc.getUNCPath() == null || "\\".equals(loc.getUNCPath()) ) ? null : loc.getUNCPath(); String share = loc.getShare(); DfsReferralData start = referral != null ? referral : this.ctx.getDfs().resolve(this.ctx, hostName, loc.getShare(), path); DfsReferralData dr = start;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Tue Jul 07 10:50:16 GMT 2020 - 31K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url); loc.canon = this.canon; loc.share = this.share; loc.dfsReferral = this.dfsReferral; loc.unc = this.unc; if ( this.addresses != null ) { loc.addresses = new UniAddress[this.addresses.length]; System.arraycopy(this.addresses, 0, loc.addresses, 0, this.addresses.length); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jul 20 08:24:53 GMT 2019 - 23.9K bytes - Viewed (0)