title: How to add property at the end in one .properties file
body: <p>I am using the below code to write a property in a .properties file.</p>
  
  <pre><code>InputStream inputStream = null;
      try {
          inputStream = file.getContents();
          Properties properties = new Properties();
          properties.load(inputStream);
          inputStream.close();
          properties.setProperty(propertyKey.trim(), propertyValue.trim());
          File file1 = file.getRawLocation().makeAbsolute().toFile();
          FileOutputStream outputStream = new FileOutputStream(file1);
          properties.store(outputStream, null);
          outputStream.close();
          }
      } catch (IOException ex) {
          ex.printStackTrace();
      } catch (CoreException ex) {
          ex.printStackTrace();
      }
  </code></pre>
  
  <p>Though it is adding the property in a sorted position but not at the end .But I want it will always be added <code>at the end</code>.How can I get that ?</p>