>> I have a java application that reads a properties file. All is well
>> until I include a property like:
[quoted text clipped - 13 lines]
>
> - Lew

Signature
If you can't be the flame, don't be the moth.
>>> I have a java application that reads a properties file. All is well
>>> until I include a property like:
[quoted text clipped - 6 lines]
>>> How can I prevent this from happening to that the string reads in
>>> correctly?
>> Read
>> http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html#load(java.io.I
nputStream)
[quoted text clipped - 7 lines]
>
> Is my only resort to use StringTokerizer?
As explained in the link, you can double the backslashes.
Or use forward slashes.
Read the link.
- Lew
KenStahl - 08 Oct 2006 23:10 GMT
>>>> I have a java application that reads a properties file. All is well
>>>> until I include a property like:
[quoted text clipped - 26 lines]
>
> - Lew
Ok, I wasn't clear on something and I should have been. The
property file is not controlled by my application so I have
to accept it in its present form. Obviously the people who
wrote the controlling application know what they did to get
around the problem but I don't have access to them.

Signature
If you can't be the flame, don't be the moth.