パッケージ jcifs.internal.smb1.net

クラス SmbShareInfo

  • すべての実装されたインタフェース:
    FileEntry

    public class SmbShareInfo
    extends Object
    implements FileEntry
    Internal use only
    • フィールドの詳細

      • netName

        protected String netName
      • type

        protected int type
      • remark

        protected String remark
    • コンストラクタの詳細

      • SmbShareInfo

        public SmbShareInfo()
      • SmbShareInfo

        public SmbShareInfo​(String netName,
                            int type,
                            String remark)
        パラメータ:
        netName -
        type -
        remark -
    • メソッドの詳細

      • getName

        public String getName()
        定義:
        getName インタフェース内 FileEntry
        戻り値:
        the file name
      • getType

        public int getType()
        定義:
        getType インタフェース内 FileEntry
        戻り値:
        the file type
      • getAttributes

        public int getAttributes()
        定義:
        getAttributes インタフェース内 FileEntry
        戻り値:
        the file attributes
      • createTime

        public long createTime()
        定義:
        createTime インタフェース内 FileEntry
        戻り値:
        the creation time
      • lastModified

        public long lastModified()
        定義:
        lastModified インタフェース内 FileEntry
        戻り値:
        the last modified time
      • length

        public long length()
        定義:
        length インタフェース内 FileEntry
        戻り値:
        the file size
      • equals

        public boolean equals​(Object obj)
        オーバーライド:
        equals クラス内 Object
      • hashCode

        public int hashCode()
        オーバーライド:
        hashCode クラス内 Object