- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for getType (0.17 sec)
-
src/main/java/jcifs/smb/SID.java
return new SID(this, SID_TYPE_DOMAIN, this.domainName, null, getType() != SID_TYPE_DOMAIN); } /** * Get the RID * * This is the last subauthority identifier * * @return the RID */ @Override public int getRid () { if ( getType() == SID_TYPE_DOMAIN ) throw new IllegalArgumentException("This SID is a domain sid");
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
SmbResourceLocator fl = p.getLocator(); assertNull(fl.getServer()); assertNull(fl.getShare()); assertEquals(SmbConstants.TYPE_WORKGROUP, fl.getType()); assertEquals("\\", fl.getUNCPath()); assertEquals("smb://", fl.getCanonicalURL()); assertEquals("/", fl.getURLPath()); } } @Test
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 08 13:16:07 GMT 2020 - 23K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
try ( CloseableIterator<SmbResource> it = smbFile.children() ) { while ( it.hasNext() ) { try ( SmbResource serv = it.next() ) { System.err.println(serv.getName()); assertEquals(SmbConstants.TYPE_SERVER, serv.getType()); assertTrue(serv.isDirectory());
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
try ( SmbResource f = getDefaultShareRoot() ) { checkConnection(f); if ( f.getType() != SmbConstants.TYPE_FILESYSTEM ) { assertEquals(SmbConstants.TYPE_SHARE, f.getType()); } } } @Test public void testGetFreeSpace () throws CIFSException, MalformedURLException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
FileEntry[] entries; if ( u.getPath().lastIndexOf('/') != ( u.getPath().length() - 1 ) ) throw new SmbException(u.toString() + " directory must end with '/'"); if ( locator.getType() != SmbConstants.TYPE_SERVER ) throw new SmbException("The requested list operations is invalid: " + u.toString()); Set<FileEntry> set = new HashSet<>();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jul 20 08:41:19 GMT 2019 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:14:04 GMT 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
this.access = access; this.sharing = sharing; try ( SmbTreeHandleInternal th = file.ensureTreeConnected() ) { this.smb2 = th.isSMB2(); if ( file.getType() != SmbConstants.TYPE_NAMED_PIPE ) { try ( SmbFileHandle h = ensureOpen() ) {} this.openFlags &= ~ ( SmbConstants.O_CREAT | SmbConstants.O_TRUNC ); } init(th);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun May 17 08:55:14 GMT 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
try ( SmbFile ndest = new SmbFile( dest, r.getLocator().getName(), true, r.getLocator().getType(), r.getAttributes(), r.createTime(), r.lastModified(), r.lastAccess(), r.length()) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
enc-part etype: eTYPE-ARCFOUR-HMAC-MD5 (23) kvno: 5 cipher: 508c1fb7944c336ead0edf4536ba1ecf7102923d9dc9e0ab1d5c73d0d3bb4ca6a1120cdd… authenticator etype: eTYPE-ARCFOUR-HMAC-MD5 (23)
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 22.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
return (T) this; } throw new ClassCastException(); } /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#getPipe() */ @Override public SmbNamedPipe getPipe () { return this.pipe; } @Override public SmbTreeHandleImpl ensureTreeConnected () throws CIFSException { if ( this.treeHandle == null ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Apr 13 17:05:22 GMT 2020 - 10.3K bytes - Viewed (0)