File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
spring-core/src/main/java/org/springframework/util Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2013 the original author or authors.
2
+ * Copyright 2002-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
29
29
*
30
30
* <p>Allows for reading from any Reader and writing to any Writer, for example
31
31
* to specify a charset for a properties file. This is a capability that standard
32
- * {@code java.util.Properties} unfortunately lacked up until JDK 1. 5:
32
+ * {@code java.util.Properties} unfortunately lacked up until JDK 5:
33
33
* You were only able to load files using the ISO-8859-1 charset there.
34
34
*
35
35
* <p>Loading from and storing to a stream delegates to {@code Properties.load}
36
36
* and {@code Properties.store}, respectively, to be fully compatible with
37
- * the Unicode conversion as implemented by the JDK Properties class. As of JDK 1. 6,
37
+ * the Unicode conversion as implemented by the JDK Properties class. As of JDK 6,
38
38
* {@code Properties.load/store} will also be used for readers/writers,
39
39
* effectively turning this class into a plain backwards compatibility adapter.
40
40
*
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
32
32
* but allowing for reading from any Reader and writing to any Writer
33
33
* (which allows to specify an encoding for a properties file).
34
34
*
35
- * <p>As of Spring 1.2.2, this interface also supports properties XML files,
36
- * through the {@code loadFromXml} and {@code storeToXml} methods.
37
- * The default implementations delegate to JDK 1.5's corresponding methods.
38
- *
39
35
* @author Juergen Hoeller
40
36
* @since 10.03.2004
41
37
* @see DefaultPropertiesPersister
@@ -62,7 +58,6 @@ public interface PropertiesPersister {
62
58
*/
63
59
void load (Properties props , Reader reader ) throws IOException ;
64
60
65
-
66
61
/**
67
62
* Write the contents of the given Properties object to the
68
63
* given OutputStream.
@@ -84,7 +79,6 @@ public interface PropertiesPersister {
84
79
*/
85
80
void store (Properties props , Writer writer , String header ) throws IOException ;
86
81
87
-
88
82
/**
89
83
* Load properties from the given XML InputStream into the
90
84
* given Properties object.
You can’t perform that action at this time.
0 commit comments