public class ConfigFileParameters extends AbstractContextual
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_FILE |
Constructor and Description |
---|
ConfigFileParameters(Context context)
Constructs a ConfigFileParameters object.
|
ConfigFileParameters(Context context,
File configFile)
Constructs a ConfigFileParameters object.
|
Modifier and Type | Method and Description |
---|---|
String |
getJvmArgs()
Gets the value associated with the "jvmargs" key in the launcher
configuration file.
|
int |
getMemoryInMB()
Returns the value of the number of megabytes of ram to allocate that is
specified in the launcher config file.
|
void |
setJvmArgs(String args)
Sets the value associated with the "jvmargs" key in the launcher
configuration file.
|
void |
setMemoryInMB(int numMegabytes)
Sets the value of the number of megabytes of ram to allocate.
|
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setContext
public static final String CONFIG_FILE
public ConfigFileParameters(Context context)
public int getMemoryInMB()
public void setMemoryInMB(int numMegabytes)
public String getJvmArgs()
public void setJvmArgs(String args)
Copyright © 2014–2022 ImageJ. All rights reserved.