Class EclipseIni
java.lang.Object
com.diffplug.gradle.eclipserunner.EclipseIni
Api for manipulating eclipse.ini, see
[Eclipse docs](https://wiki.eclipse.org/Eclipse.ini)
for more details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the line after the given line, and ensures that the returned value does not start with a dash.String[]Returns all lines as an array.static EclipseIniParses an eclipse.ini from the given file.voidSets the given property to a file.voidSets a property, replacing its existing value or inserting just before vmargs.voidSets the vmargs arguments, such as `-Xmx2g` to set the maximum heap size.voidvmargs(Collection<String> vmargs) Sets the vmargs arguments, such as `-Xmx2g` to set the maximum heap size.voidWrites this eclipse.ini out to a file.
-
Constructor Details
-
EclipseIni
public EclipseIni()
-
-
Method Details
-
parseFrom
Parses an eclipse.ini from the given file.- Throws:
FileNotFoundExceptionIOException
-
writeTo
Writes this eclipse.ini out to a file.- Throws:
FileNotFoundException
-
getAfter
Returns the line after the given line, and ensures that the returned value does not start with a dash. -
getLinesAsArray
Returns all lines as an array. -
set
Sets a property, replacing its existing value or inserting just before vmargs. -
set
Sets the given property to a file. -
vmargs
Sets the vmargs arguments, such as `-Xmx2g` to set the maximum heap size. -
vmargs
Sets the vmargs arguments, such as `-Xmx2g` to set the maximum heap size.
-