×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2004
    Posts
    18

    Modifying resources at run time

    Hi

    Is it possible to modify a JAR resource file at run time?

    getResourceAsStream provides a resource as an input stream. Can I similarly get an output stream?

    Thanks in advance
    Harsh

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    The resources in the jar are read only. You can read them from the jar, modify them in memory and use the copy from memory, and also write them to the RMS if you want persistence between sessions.

    shmoove

Posting Permissions

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