Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8213437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:07:05+00:00 2026-06-07T11:07:05+00:00

im developing a program in which I need to make a save file that

  • 0

im developing a program in which I need to make a save file that contains a serialized object with all the settings and some images that the user added to the program, i tried adding the images as imageicons to the object so they would get serialized with it but it turned out to be very inefficient regarding size, then, i tried serializing the object through a objectoutputstream and then in the same file serializing the image with imageoutputstream, but when i deserialize the image it is corrupt, the object does deserialize correctly tho, so how can i make a save file that contains a serialized object and some resourses in the same file?? (like a project save file) thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:07:07+00:00Added an answer on June 7, 2026 at 11:07 am

    You can implement some class which handles packaging system. Firstly serializing the Object with ObjectOutputStream and then save the resource next to it (can be in some folder when theres more resources) and pack it into ZIP archive (Java got API for this). The extension can be something else than “.zip”…Microsoft docx format or OpenOffice odt format is also a ZIP archive which contains many XML files… 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a small program which cuts images by the color. That's will
I'm developing a program which allows users to input some information which then gets
I am developing some program in C# which will send the mail using outlook
I'm developing a program that makes some floating points calculations. Is there any way
I am developing program which need to interact with COM ports. By learning from
I'm developing some code that is simulating network equipment. I need to run several
I am developing a program in which I need to generate a random number
I'm developing a matlab program in which I uses polygons(concave or convex). I need
I'm writing a program in C++/Qt which contains a graph file parser. I use
I am developing a windows CE program for the Motorola MC9090G which is running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.