- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for LPT1 (0.02 sec)
-
src/main/java/jcifs/internal/TreeConnectResponse.java
* Returns the tree identifier (TID) assigned to this tree connection. * * @return tree id */ int getTid(); /** * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe). * * @return service */ String getService(); /** * Indicates whether the connected share is part of a Distributed File System (DFS) namespace. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
void testGetTreeType() { SmbTreeImpl tree1 = new SmbTreeImpl(session, "SHARE", "A:"); assertEquals(SmbConstants.TYPE_SHARE, tree1.getTreeType()); SmbTreeImpl tree2 = new SmbTreeImpl(session, "LPT1", "LPT1:"); assertEquals(SmbConstants.TYPE_PRINTER, tree2.getTreeType()); SmbTreeImpl tree3 = new SmbTreeImpl(session, "COMM", "COMM"); assertEquals(SmbConstants.TYPE_COMM, tree3.getTreeType()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
* @param server the server data containing security information * @param path the UNC path to the shared resource * @param service the service type (e.g., "A:" for disk share, "LPT1:" for printer) * @param andx the next command in the AndX chain, or null */ public SmbComTreeConnectAndX(final CIFSContext ctx, final ServerData server, final String path, final String service,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
// Windows reserved names private static final Set<String> WINDOWS_RESERVED = Set.of("CON", "PRN", "AUX", "NUL", "COM1", "COM2", "COM3", "COM4", "COM5", "COM6", "COM7", "COM8", "COM9", "LPT1", "LPT2", "LPT3", "LPT4", "LPT5", "LPT6", "LPT7", "LPT8", "LPT9"); // Configuration private final int maxPathLength; private final int maxComponentLength; private final boolean allowUncPaths;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K 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; }
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/smb1/smb1/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)