Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Apache POI - XSSFCell

  1. #1
    Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    84
    My Mood
    Inspired
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Apache POI - XSSFCell

    Hi everyone,

    I am having a bit diffeculty with this API Apache POI.
    The program I am making is reading in a excel file, and then it matches it against each other.
    And the part that matches go to a new file.

    Now to do the matching I have put the data in a MultiHashMap.
    <String, XSSFCell>

    Now I am able to get the keys out, but not the XSSFCell data.
    I had this problem too that I could not get the keys out when the HashMap was <Cell, XSSFCell>.
    So I converted the Cell to a String by using: String stringdata = "" + Cell;
    Now I can get the keys out, but is doesn't take the values.

    Now I would like to convert the XSSFCell data to a String data too.
    But the method I used for converting Cell to String won't work on this one.

    Any ideas on how to convert ths XSSFCell to String?
    Last edited by Purple01; September 17th, 2012 at 06:38 AM.


  2. #2
    Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    84
    My Mood
    Inspired
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Apache POI - XSSFCell

    Ik heb het inmiddels werkend gekregen.

Similar Threads

  1. Working with Apache and .JSP
    By mikeb2623 in forum Java Theory & Questions
    Replies: 2
    Last Post: October 25th, 2011, 03:16 PM
  2. org.apache.poi.xssf.usermodel.XSSFCell;
    By suma in forum Java SE APIs
    Replies: 3
    Last Post: July 25th, 2011, 05:18 AM
  3. Apache POI
    By PineAppleKing in forum What's Wrong With My Code?
    Replies: 10
    Last Post: May 31st, 2011, 01:12 PM
  4. Problem with apache xml-rpc lib
    By tah_206207 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 22nd, 2011, 03:31 PM
  5. apache-jboss
    By supriya ramjee in forum Web Frameworks
    Replies: 0
    Last Post: August 12th, 2009, 06:37 AM