Package com.sun.nfs

Class Nfs2


  • public class Nfs2
    extends Nfs
    This class contains the methods specific to NFS version 2.
    Author:
    Brent Callaghan, Ricardo Labiaga
    See Also:
    Nfs, Nfs3, Fattr
    • Constructor Summary

      Constructors 
      Constructor Description
      Nfs2​(Rpc rpc, byte[] fh, java.lang.String name, com.sun.nfs.Fattr2 attr)
      Construct a new NFS version 2 object (file or directory)
    • Constructor Detail

      • Nfs2

        public Nfs2​(Rpc rpc,
                    byte[] fh,
                    java.lang.String name,
                    com.sun.nfs.Fattr2 attr)
        Construct a new NFS version 2 object (file or directory)
        Parameters:
        rpc - Rpc object for the server
        fh - File handle for the object
        name - Name of the file/dir
        attr - File attributes for the object
    • Method Detail

      • lookupSec

        public java.lang.String lookupSec()
                                   throws java.io.IOException
        Throws:
        java.io.IOException