- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TYPE_FILESYSTEM (0.08 sec)
-
src/test/java/jcifs/tests/FileAttributesTest.java
@Test public void testBaseFile () throws MalformedURLException, CIFSException { 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 {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
/** * Returns type of of object this <tt>SmbFile</tt> represents. * @return <tt>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER, TYPE_SHARE, * TYPE_PRINTER, TYPE_NAMED_PIPE</tt>, or <tt>TYPE_COMM</tt>. */ public int getType() throws SmbException { if( type == 0 ) { if( getUncPath0().length() > 1 ) { type = TYPE_FILESYSTEM; } else if( share != null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
@Override public long getDiskFreeSpace () throws SmbException { try ( SmbTreeHandleImpl th = ensureTreeConnected() ) { int t = getType(); if ( t == TYPE_SHARE || t == TYPE_FILESYSTEM ) { AllocInfo allocInfo = fetchAllocationInfo(th); this.size = allocInfo.getCapacity();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0)