- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TYPE_PRINTER (0.09 sec)
-
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertEquals(0, info.getFileIndex()); } @ParameterizedTest @DisplayName("Test getType with different share types") @CsvSource({ "1, " + SmbConstants.TYPE_PRINTER, // Printer share "3, " + SmbConstants.TYPE_NAMED_PIPE, // Named pipe "0, " + SmbConstants.TYPE_SHARE, // Standard share "2, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x04, SmbConstants.TYPE_SERVER); assertEquals(0x08, SmbConstants.TYPE_SHARE); assertEquals(0x10, SmbConstants.TYPE_NAMED_PIPE); assertEquals(0x20, SmbConstants.TYPE_PRINTER); assertEquals(0x40, SmbConstants.TYPE_COMM); } @Test @DisplayName("Should define open flags constants") void testOpenFlagsConstants() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
* @return the type of this tree */ public int getTreeType() { final String connectedService = getService(); if ("LPT1:".equals(connectedService)) { return SmbConstants.TYPE_PRINTER; } if ("COMM".equals(connectedService)) { return SmbConstants.TYPE_COMM; } return SmbConstants.TYPE_SHARE; } /** * @return the service
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int TYPE_NAMED_PIPE = 0x10; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code> * represents is a printer. */ int TYPE_PRINTER = 0x20; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code> * represents is a communications device. */ int TYPE_COMM = 0x40;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
*/ String getName(); /** * Returns type of of object this <code>SmbResource</code> represents. * * @return <code>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER, TYPE_SHARE, * TYPE_PRINTER, TYPE_NAMED_PIPE</code>, or <code>TYPE_COMM</code>. * @throws CIFSException if an error occurs accessing the resource */ int getType() throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1)