Santiago,

&, ?, #
---------

The w3c has a very complete encoder/decoder in org.w3c.tools.codec (see
it's jigsaw package).  Whilst I appreciate that a full base64 encoding
would be illegible (when viewed in a directory) some compromise could be
reached between legibility and bombproof encoding of non a-z, 1-9 chars.

Alternatively, an xml blob could be stored that contains the contents, the
url and other stuff (this carries otherbenefits anyway):

<cached-url>
    <url>http://finance.yahoo.com/q?d=t&s=SUNW</url>
    <meta-inf>
        <created>162600000</created>
        <last-modified>162662662</last-modified>
        <no-longer-required-after>1626688999</no-longer-required-after>
        <refresh-every>300000</refresh-every>
    </meta-inf>
    <content>
        --------------ms175EAEE65525085DD4B1FFA7
        Content-Type: application/x-pkcs7-signature; name="smime.p7s"
        Content-Transfer-Encoding: base64
        Content-Disposition: attachment; filename="smime.p7s"
        Content-Description: S/MIME Cryptographic Signature

MIIH5gYJKoZIhvcNAQcCoIIH1zCCB9MCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC

anjj8e8D5aisqd9Mc6UG86qnkeDryo8cOVVqcbB7h3O9MvQ+jD2XtMPvSpjKK7jLKAqdFegF
        meJtKEvJkdVE5SUX03LurLqS8d2pbszgbdB2gQ==
        --------------ms175EAEE65525085DD4B1FFA7--
    </content>
</cached-url>

Regards,

- Paul H



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to