Loads properties from the specified InputStream, assumed to be ISO-8859-1. See " Character Encoding ". @param in the InputStream @throws IOException
(InputStream in)
| 153 | * @throws IOException |
| 154 | */ |
| 155 | public synchronized void load(InputStream in) throws IOException { |
| 156 | if (in == null) { |
| 157 | throw new NullPointerException("in == null"); |
| 158 | } |
| 159 | load(new InputStreamReader(in, "UTF-8")); |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Loads properties from the specified {@code Reader}. |