Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static ExcelVersion parseValidExcelVersions(int intVersion) {
- switch (intVersion) {
- case 9:
- return EXCEL_2000;
- case 10:
- return EXCEL_2002;
- case 11:
- return EXCEL_2003;
- case 12:
- return EXCEL_2007;
- default:
- if (intVersion < 9) {
- return VERY_OLD_VERSION;
- } else
- return NEW_VERSION;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement