Consider adding a boolean-valued method Files.isFIFO(Path, LinkOption) which would return true if and only if the named file were a FIFO (Unix) or named pipe (Windows). This method could be useful in cases such as that described in JDK-6432702.
- relates to
-
JDK-6737429 New I/O: Add named pipe support
-
- Open
-
-
JDK-6432702 FileInputStream(new File("./FIFO")) blocks current thread forever
-
- Closed
-
- links to