Excel sheets in java on UNIX

I want to manipulate a excel sheet and put it back on UNIX machine.
Now my problem is after manipulating the file in java, it will be a binary file, now how do i place it on UNIX machine? Can i convert it to a excel format and then place?

The Jakarta POI project is intended for that.
http://jakarta.apache.org/poi/
You can even generate/manipulate/read the Excel sheet on a unix machine with that API.

Similar Messages

  • How to get the password of a password protected Excel Sheet using java/jxl

    Hi ,
    how to get the password of a password protected Excel Sheet using java / jxl program.
    plz any one help me .
    Ramesh P
    [email protected]

    If they've implemented the password system correctly there probably isn't a way of getting the password at all.

  • How to append in excel sheet using Java

    Can anybody help me out in figuring out as how to append in already existing excel sheet using Java.
    I am able to to write in the existing excel sheet using HSSF but is not able to append the data row wise.
    So plz tell me how to do the same.

    Manisha_7 wrote:
    Thnx for the link......No problem.
    but i alsot wanted to know if apart from using poi there is a way to append the data in excel sheet like using JExcel.Don't know. JExcel is also not apart of Java's core API.

  • Downloading table data into Excel sheet - Webdynpro Java

    Hi All,
    We have developed a custom webdynpro application that executes an RFC and displays data in Table UI element. We have provided a button to download the data in excel sheet. When data is huge like, total number of rows filled up in the table are around 11,000 & columns are 32, and when user tries to download whole 11000 rows in excel sheet, the timeout occurs after 20 mins due to huge data. But when I apply filtering on the same table data and then try to download some 700 rows out of 11000 into excel, it took me around 3.36 mins.
    If anyone encountered such scenario in past, please guide in this regard to speed-up the download to excel functionality or suggest any other alternative.
    We are using 7.3 Portal and tableUtilities java class for export to excel functionality.
    Thanks,
    Amol.

    hi monica ,
    sorry im not able to understand properly ,
    The server don't restarts automatically when we uploading a huge data, onlly we open the file instead of save the file.
    If we save the file the problem is that when we try to open this, the process can take hours and sometimes excel is blocked
    you mean that after saving the file to your desktop , having huge data you are not able to open the file i.e the excel file. your file gets blocked or consumes more time to open the file ,
    or else when you are prompted for saving or opening , on click of opening  you are facing the problem ?
    let me be clear with your part , here your application deals with uploading the data from webdynpro table to excel sheet and allowing the end user to save or open the file  right .
    Regards
    Govardan Raj S

  • Writing data on to excel sheet from java

    Hi,
    I have to write a java program which writes data on to Excel sheet column by column. How to do this ?

    Use Jakarta's POI API: http://jakarta.apache.org/poi/index.html

  • How to lock excel sheets using java

    hi,
    i have developed a web page using JSP which has to open an excel sheet and display the databese information in it.
    but the prblem is the excel sheet has to be locked such tht the clients accessing it can only read the data but not change it.
    can it be done thru programming it in java ?
    kindly help.

    the excel file is client side and JSP is server side
    so how can you access it?
    in other words, your JSP IS NOT opening an excel file, it's only facilitating the upload
    POI from Apache is what we use as well, and it will allow you access to the data AFTER the excel file is transfered to the server

  • How to activate Excel sheet from java

    I need to activate excel sheet from my java program. I'm working on the project "excel tutorial". I want the user to work interactively in the excel workbook just from my java API. But i don't know how to do. please help.

    I need to activate excel sheet from my java program.
    I'm working on the project "excel tutorial". I want
    the user to work interactively in the excel workbook
    just from my java API. But i don't know how to do.
    please help.Voila :-)
    http://www.andykhan.com/jexcelapi/tutorial.html

  • Drawing graphs in excel sheet using java

    Hi,
    I'm trying to draw a line graph in excel sheet with different segment of the line graph with different colors.I need to accept a Excel file which gives me the details of the location and length of each of these line segments.I need a java code for doing the above.
    Please help me out as this is very urgent and I hv no idea as to how to proceed further.
    Thanking you in advance,
    Vijibindu

    Do a search of this forum for Java and Excel.
    This question has been asked and answered many, many times.
    There's an open source project called POI which should have samples of r
    eading & writing Excel files.
    regards,
    Owen

  • How to Lock Excel Sheet through Java Code

    Hi
    Iam using Jasper Reports.Iam exporting to Excel.I want to Lock Excel sheet after Export.I need code how to lock and unlock
    TQ

    I guess you need some library that can modify Excel files, like JExcel or Jakarta POI.

  • Read data from database  write it in excel sheet throw java

    hi
    i wanna to read database table & write it contain in excel sheet how i will do this connectivity between jdbc & excelDB how i will do this
    tell me
    sandeep patil
    [email protected]

    Read Suns JDBC Tutorial, then if there is already an Excel spreadsheet set up to use as an ODBC datasource use JDBC and the JDBC/ODBC bridge. If there is not an already setup ODBC Datasource then Google POI HSSF and/or JExcel to do the Excel part.

  • How to read an excel sheet in java

    hi all!
    i want to read data from an excel sheet.could U plz send me the code from scratch.
    thanks in advance

    Look for jxl.jar (http://www.andykhan.com/jexcelapi/) or jexcel. Worked fine for me. And as for the code: see the example programs and documentation....
    Sample:
         private ArrayList procesExcelFile(File file){
              logger.info("Processing XSL file ("+file.getAbsolutePath()+")");          
              ArrayList result = new ArrayList();
              Hashtable xlsRow = null;
              int row;
              try{
                   // Open sheet
                   WorkbookSettings wbs = new WorkbookSettings();
                   wbs.setInitialFileSize( (int) file.length());
                   Workbook workbook = Workbook.getWorkbook(file,wbs);
                   Sheet sheet = workbook.getSheet(0);
                   // Init XML tags on 1st header
                   this.readTagLine(sheet.getRow(0));
                   // Read sheet row by row, skip first & empty rows
                   for(row = 1; row < sheet.getRows(); row++){
                        xlsRow = this.convertRowToTable(sheet.getRow(row));
                        if(!xlsRow.isEmpty()){
                             result.add(xlsRow);
                   logger.info("Processed XSL file, " + result.size() + " rows found (excl. header)");
              catch(IOException ioe){
                   logger.error("Error reading XLS file", ioe);
                   succes = "false";
              catch(BiffException be){
                   logger.error("Could not get workbook from XLS file", be);
                   succes = "false";
              catch(OutOfMemoryError oome){
                   logger.fatal("Not enough memory for processing XLS file", oome);
                   succes = "false";
              return result;
         }now gimme them Duke Dollars ;)

  • How to read/write Excel sheets using java

    Hello,
    I have downloaded poi-2.5.1-all-bin and it has
    poi-2.5.1-final-20040804 , poi-contrib-2.5.1-final-20040804, poi-scratchpad-2.5.1-final-20040804 jar Files
    i am unable to configure POI which i have downloaded, when i do
    import org.apache.poi.hssf.usermodel.HSSFSheet;
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;
    it gives error while compilation saying cannot find Sheet class, Workbook class
    should i use ant to build it or which jar file path should i specify in the classpath, because i have downloaded the POI package on to my desktop and included the specified the entire path of all the jar files in the classpath but still the same problem.
    Please guide me.

    dvrsandeep wrote:
    import org.apache.poi.hssf.usermodel.HSSFSheet;
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;
    it gives error while compilation saying cannot find Sheet class, Workbook class
    Either it isn't in your class path or you are using the wrong names. Simple as that.
    Just as a possibility since you didn't import a "Sheet" class but rather a "HSSFSheet" that certainly suggests something is wrong.

  • What is the class for creating the excel sheet in the java

    please say the class for creating the excel sheet in java (servlets,jsp)

    You can also cheat and rename a html file to xls.
    Just use standard html tables. Should be able to use google to find a working example.

  • How to populate arrayList values in a Excel cell using java

    Hi ,
    Iam trying to create Excel sheet using java with Apache-POI api's.I need to display values from an arrayList into Excel cell as drop down.kindly suggest me any idea or share any code if u have any.
    Thanks in advance
    Regards
    Rajesh

    I suggest you use google to find examples.

  • Attach document in an excel sheet

    Hi,
    How to append a documents in an Excel Sheet using java.

    bharat.s wrote:
    Hi,
    How to append a documents in an Excel Sheet using java.Can you explain what you mean?
    Attach as in email? Or add an extra worksheet to a workbook?

Maybe you are looking for

  • Scheduling of process chain with background job

    Hello All,               I have scheduled the process chains through background jobs. I have copied the meta chain and created seven background jobs that is from Monday till sunday. The problem is most frequently the job gets cancelled with the messa

  • Setting up Dual Boot on a laptop with an HDD and an SSD?

    Hello, I've had a Lenovo Y500 laptop for about a year now, and I'd really like to run Arch on it. I've been using Arch on a virtual machine for a while now, and I have tried other distros like Gentoo and Slackware, but Arch is by far my favorite. I f

  • Connection Problems following Upgrade at Exchange

    I have been having problems since 1st November. I had received an e-mail advising that “we’re rolling out our faster broadband and we’ll be upgrading our network in your area on 01-Nov-11…For the first ten days or so after your upgrade, your broadban

  • TS1424 iTunes won't open due to a DEP error-Vista

    My iTunes will not open on my vista because it says there is a DEP error. I've tried everything and I can't get it to work.

  • Account type K is not defined for document type WA

    Hi,  I encountered this while doing movement type 301 - transfer posting plant to plant.   What does this mean? Thanks so much. Regards, Paula