Add FileChannel#size()

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2013-12-03 14:07:37 -06:00
parent b246804793
commit b1d2f66194
2 changed files with 6 additions and 0 deletions

View File

@ -193,6 +193,10 @@ public class RandomAccessFile {
seek(position);
return this;
}
public long size() throws IOException {
return length();
}
};
}
}