Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TYPE_PRINTER (0.06 sec)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

         * @return the type of this tree
         */
        public int getTreeType () {
            String connectedService = getService();
            if ( "LPT1:".equals(connectedService) ) {
                return SmbConstants.TYPE_PRINTER;
            }
            else if ( "COMM".equals(connectedService) ) {
                return SmbConstants.TYPE_COMM;
            }
            return SmbConstants.TYPE_SHARE;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
        public static final int TYPE_NAMED_PIPE = 0x10;
        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
         * represents is a printer.
         */
        public static final int TYPE_PRINTER = 0x20;
        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
         * represents is a communications device.
         */
        public static final int TYPE_COMM = 0x40;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top