com.sun.nfs
Class Nfs2

java.lang.Object
  extended by com.sun.nfs.Nfs
      extended by com.sun.nfs.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
Nfs2(Rpc rpc, byte[] fh, java.lang.String name, com.sun.nfs.Fattr2 attr)
          Construct a new NFS version 2 object (file or directory)
 
Method Summary
 java.lang.String lookupSec()
           
 
Methods inherited from class com.sun.nfs.Nfs
close, finalize, flush, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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