1.) if there is a backslash in a value it's not given back from the Ini
instance:
byte[] b = "[whatever]\nread=foo\\bar".getBytes();
Ini ini = new Ini(new ByteArrayInputStream(b));
Section s = ini.get("whatever");
s.get("read"); // returns 'foobar' instead of 'foo/bar'
2.) haven't found a way how to store only one backslash from an Ini
instance
...
Section s = ini.get("whatever");
s.put("write", "foo\\bar");
ByteArrayOutputStream os = new ByteArrayOutputStream();
ini.store(os);
os.toString(); // returns '\\'
regards
Nobody/Anonymous ( nobody ) - 2008-05-30 15:32
5
Closed
Fixed
Nobody/Anonymous
None
None
Public
|
Date: 2009-02-17 15:45 Fixed in version 0.4.0 |
|
Date: 2008-11-12 15:14 This is an issue that causes a problem in NetBeans. See: |
|
Date: 2008-11-12 15:11 This is an issue that causes a problem in NetBeans. See: |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use