Module jcifs

Interface FileEntry

All Known Implementing Classes:
SmbShareInfo

public interface FileEntry
Represents a file or directory entry in SMB1 protocol.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the creation time.
    int
    Gets the file attributes.
    Gets the name of the file or directory.
    int
    Gets the type of the entry.
    long
    Gets the last modified time.
    long
    Gets the file size.
  • Method Details

    • getName

      String getName()
      Gets the name of the file or directory.
      Returns:
      the file or directory name
    • getType

      int getType()
      Gets the type of the entry.
      Returns:
      the entry type
    • getAttributes

      int getAttributes()
      Gets the file attributes.
      Returns:
      the file attributes
    • createTime

      long createTime()
      Gets the creation time.
      Returns:
      the creation time in milliseconds since epoch
    • lastModified

      long lastModified()
      Gets the last modified time.
      Returns:
      the last modified time in milliseconds since epoch
    • length

      long length()
      Gets the file size.
      Returns:
      the file size in bytes