Class NfsDirectoryEntry

java.lang.Object
com.emc.ecs.nfsclient.nfs.NfsDirectoryEntry
Direct Known Subclasses:
NfsDirectoryPlusEntry

public class NfsDirectoryEntry extends Object
Holder for entries returned by READDIR calls, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
  • Constructor Details

    • NfsDirectoryEntry

      public NfsDirectoryEntry(Xdr xdr)
      Create a new entry.
      Parameters:
      xdr - The response.
  • Method Details

    • getCookie

      public final long getCookie()
      Returns the cookie from the server, for use in future RPC calls.
    • getFileId

      public final long getFileId()
      Returns a number which uniquely identifies the file within its file system (on UNIX this would be the inumber).
    • getFileName

      public final String getFileName()
      Returns the file name from the directory listing.