[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ 100559 ] Output from Properties.list
From: |
nobody |
Subject: |
[ 100559 ] Output from Properties.list |
Date: |
Sat, 09 Mar 2002 08:27:51 -0500 |
Support Request #100559, was updated on 2002-Mar-09 13:27
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100559&group_id=85
Category: java.util
Status: Open
Priority: 5
Summary: Output from Properties.list
By: crawley
Date: 2002-Mar-09 13:27
Message:
Logged In: YES
user_id=5673
Browser: Mozilla/5.0 (compatible; Konqueror/2.2-11; Linux)
The output produced by java.util.Properties.list
in Classpath and JDK can be significantly different.
Classpath inserts escape sequences for newlines
and a number of other characters. JDK 1.3 / 1.4 does
not do this. On the other hand JDK 1.3 / 1.4 outputs
the "-- listing properties --" line, and ouputs
long property values truncated to 40 characters
with elipsis.
For example, where the Classpath impl outputs a sample
Properties object like this:
>>>
newline=\n
tab=\t
longValue=12345678901234567890123456789012345678901234567890
<<<
the JDK 1.3 & 1.4 impls output the same object like
this:
>>>
-- listing properties --
newline=
tab=
longValue=1234567890123456789012345678901234567...
<<<
I note that the JDK 1.x API docs do not specify the
format of the output for Properties.list().
----------------------------------------------------------------------
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100559&group_id=85
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ 100559 ] Output from Properties.list,
nobody <=