|
|
| POI3.0 |
Expert:sandeep
Please send me the environment setup to run these type of example. where i gotthese file? i think we need poi3.0.jar.How & where i got it? import org.apache.poi.hssf.usermodel.*; import org.apache.poi.hssf.usermodel.HSSFRow;
import java.io.*; import org.apache.poi.hssf.usermodel.*; import org.apache.poi.hssf.usermodel.HSSFRow; class setSheetNameUnicodeDataFormat { public static void main(String arg[]) { try{ FileOutputStream out = new FileOutputStream("setSheetNameUnicodeDataFormat.xls"); HSSFWorkbook hssfworkbook = new HSSFWorkbook(); HSSFCellStyle cs = hssfworkbook.createCellStyle(); hssfworkbook.setSheetName(0, "\u0422\u0441\u0422\u043E\u0432\u0430\u044F " + "\u0421\u0442\u0440\u0437\u043D\u0438\u0447\u043A\u0422", HSSFWorkbook.ENCODING_UTF_16 ); hssfworkbook.write(out); out.close(); }catch(Exception e){} }}
|
| Answers |
Hi friend,
For download Poi Jar file visit to :
http://www.findjar.com/index.jsp?query=poi
Thanks
|
| More Questions |
|
|
Post Answers
Ask Question
Facing Programming Problem?
|
|
|
|
|