* @throws java.io.IOException
*/
public void setLength(long length) throws IOException {
NFS2Client client = getNFS2Client();
try {
client.setAttribute(entry.getFileHandle(), -1, -1, -1, (int) length, new Time(-1, -1),
new Time(-1, -1));
} catch (NFS2Exception e) {
throw new IOException(e.getMessage(), e);
}
}