- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TYPE_NAMED_PIPE (0.07 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
*/ public static final int TYPE_SHARE = 0x08; /** * Returned by {@link #getType()} if the resource this {@code SmbFile} * represents is a named pipe. */ public static final int TYPE_NAMED_PIPE = 0x10; /** * Returned by {@link #getType()} if the resource this {@code SmbFile} * represents is a printer. */ public static final int TYPE_PRINTER = 0x20; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
public boolean canRead() throws SmbException { if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for reading? return true; } return exists(); // try opening and catch sharing violation? } @Override public boolean canWrite() throws SmbException { if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for writing? return true; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0)