Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TYPE_FILESYSTEM (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * @return {@code TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER, TYPE_SHARE,
         * TYPE_PRINTER, TYPE_NAMED_PIPE}, or {@code TYPE_COMM}.
         * @throws SmbException if an error occurs while determining the type
         */
        public int getType() throws SmbException {
            if (type == 0) {
                if (getUncPath0().length() > 1) {
                    type = TYPE_FILESYSTEM;
                } else if (share != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

        @Override
        public long getDiskFreeSpace() throws SmbException {
            try (SmbTreeHandleImpl th = ensureTreeConnected()) {
                final int t = getType();
                if (t == TYPE_SHARE || t == TYPE_FILESYSTEM) {
                    final AllocInfo allocInfo = fetchAllocationInfo(th);
                    this.size = allocInfo.getCapacity();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top