Results 1 to 4 of 4
  1. #1
    haiderali is offline Member
    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Default get Bytes from XSSF workbook

    In HSSFWorkbook there is method getBytes(); How can i getBytes from XSSFWorkbook as there is no method?

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: get Bytes from XSSF workbook

    Because HSSF and XSSF are two very different file formats.
    What do you want to use getBytes for?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    haiderali is offline Member
    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Default Re: get Bytes from XSSF workbook

    just curious how would i get bytes from xssf workbook while there is no method to read/getBytes.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: get Bytes from XSSF workbook

    The only reason getBytes is available for HSSF is so that it can be used (as far as I can see) with the POI file system classes.

    If you want to read the bytes of an xlsx file then simply read the file.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Can we disable CTRL+X option in excel using XSSF poi.
    By srikanth152 in forum Apache POI
    Replies: 1
    Last Post: 05-07-2013, 10:41 AM
  2. Replies: 0
    Last Post: 05-06-2013, 05:02 PM
  3. Replies: 2
    Last Post: 04-03-2013, 09:50 AM
  4. Problem getting cell Color (XSSF)
    By sashaxiv in forum Apache POI
    Replies: 9
    Last Post: 02-19-2013, 06:26 PM
  5. Replies: 1
    Last Post: 06-29-2012, 09:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •