use of org.apache.hadoop.nfs.nfs3.FileHandle in project hadoop by apache.
the class RENAME3Request method deserialize.
public static RENAME3Request deserialize(XDR xdr) throws IOException {
FileHandle fromDirHandle = readHandle(xdr);
String fromName = xdr.readString();
FileHandle toDirHandle = readHandle(xdr);
String toName = xdr.readString();
return new RENAME3Request(fromDirHandle, fromName, toDirHandle, toName);
}
Aggregations