Class EclipseIni


  • public class EclipseIni
    extends Object
    Api for manipulating eclipse.ini, see [Eclipse docs](https://wiki.eclipse.org/Eclipse.ini) for more details.
    • Constructor Detail

      • EclipseIni

        public EclipseIni()
    • Method Detail

      • getAfter

        public String getAfter​(String input)
        Returns the line after the given line, and ensures that the returned value does not start with a dash.
      • getLinesAsArray

        public String[] getLinesAsArray()
        Returns all lines as an array.
      • set

        public void set​(String key,
                        String value)
        Sets a property, replacing its existing value or inserting just before vmargs.
      • set

        public void set​(String key,
                        File file)
        Sets the given property to a file.
      • vmargs

        public void vmargs​(String... vmargs)
        Sets the vmargs arguments, such as `-Xmx2g` to set the maximum heap size.
      • vmargs

        public void vmargs​(Collection<String> vmargs)
        Sets the vmargs arguments, such as `-Xmx2g` to set the maximum heap size.