C
christian.bongiorno
Can someone explain to me how it is that I can add values to a manifest
(and subsequently add it to a jar file). I see the part where I can add
it to the jar, but when I look at the Attributes class
the toString() method is not overridded so I have no reason to believe
that the toString() is properly formatted to be added to the
Manifest(InputStream).
it isn't serializable (so it can't go to an OutputStream directly)
Manifest does not take an "Attributes" class as input anywhere I can
see.
So, without cheating and simply hand coding the manifest attributes
strings, how do I tie the attributes in with the manifest?
Is the idea to override the Attributes.toString() method and flush it
to a ByteArrayInputStream()? I am missing the wisdom somewhere.
Christian
http://christian.bongiorno.org/resume.pdf
(and subsequently add it to a jar file). I see the part where I can add
it to the jar, but when I look at the Attributes class
the toString() method is not overridded so I have no reason to believe
that the toString() is properly formatted to be added to the
Manifest(InputStream).
it isn't serializable (so it can't go to an OutputStream directly)
Manifest does not take an "Attributes" class as input anywhere I can
see.
So, without cheating and simply hand coding the manifest attributes
strings, how do I tie the attributes in with the manifest?
Is the idea to override the Attributes.toString() method and flush it
to a ByteArrayInputStream()? I am missing the wisdom somewhere.
Christian
http://christian.bongiorno.org/resume.pdf