com.sun.nfs

Class Nfs2


public class Nfs2
extends Nfs

This class contains the methods specific to NFS version 2.
Authors:
Brent Callaghan
Ricardo Labiaga
See Also:
Nfs, Nfs3, Fattr

Constructor Summary

Nfs2(Rpc rpc, byte[] fh, String name, com.sun.nfs.Fattr2 attr)
Construct a new NFS version 2 object (file or directory)

Method Summary

String
lookupSec()

Methods inherited from class com.sun.nfs.Nfs

close, finalize, flush, toString

Constructor Details

Nfs2

public Nfs2(Rpc rpc,
            byte[] fh,
            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 Details

lookupSec

public String lookupSec()
            throws IOException