public class Parameters extends StringParameters implements IEditorDescriptionProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
LBTYPE_DOS |
static int |
LBTYPE_MAC |
static int |
LBTYPE_PLATFORM |
static int |
LBTYPE_UNIX |
bufferpath| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramsDesc) |
boolean |
getBomOnUTF8() |
String |
getLineBreak() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
boolean |
getUpdateEncoding() |
void |
reset()
Reset this parameters object to its default values.
|
void |
setBomOnUTF8(boolean bomOnUTF8) |
void |
setLineBreak(String lineBreak) |
void |
setUpdateEncoding(boolean updateEncoding) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic static final int LBTYPE_PLATFORM
public static final int LBTYPE_DOS
public static final int LBTYPE_UNIX
public static final int LBTYPE_MAC
public void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParameterspublic String getLineBreak()
public void setLineBreak(String lineBreak)
public boolean getBomOnUTF8()
public void setUpdateEncoding(boolean updateEncoding)
public boolean getUpdateEncoding()
public void setBomOnUTF8(boolean bomOnUTF8)
public ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramsDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2021. All rights reserved.