- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for getType (0.26 sec)
-
src/main/java/jcifs/ntlmssp/av/AvPairs.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
* represents is a server. */ static final int TYPE_SERVER = 0x04; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt> * represents is a share. */ static final int TYPE_SHARE = 0x08; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.9K bytes - Viewed (0) -
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/SidTest.java
assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName()); assertEquals(getTestUser(), s.getAccountName()); assertEquals(jcifs.SID.SID_TYPE_USER, s.getType()); } @Test public void resolveGroupSID () throws IOException { String sid = getRequiredProperty(TestProperties.TEST_GROUP_SID); SID s = new SID(sid);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.1K 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/main/java/jcifs/smb1/smb1/FileEntry.java
package jcifs.smb1.smb1; public interface FileEntry { String getName(); int getType(); int getAttributes(); long createTime(); long lastModified(); long length();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 191 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/NetServerFileEntryAdapterIterator.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.6K 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)