Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TYPE_PRINTER (0.07 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/SmbResource.java

         */
        String getName ();
    
    
        /**
         * Returns type of of object this <tt>SmbResource</tt> represents.
         * 
         * @return <tt>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER, TYPE_SHARE,
         * TYPE_PRINTER, TYPE_NAMED_PIPE</tt>, or <tt>TYPE_COMM</tt>.
         * @throws CIFSException
         */
        int getType () throws CIFSException;
    
    
        /**
         * Tests to see if the SMB resource exists. If the resource refers
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
Back to top