|
org.netbeans.modules.editor.lib/3 3.23.0 19 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.editor.LineSeparatorConversion
CharacterConversions instead.
public class LineSeparatorConversion
Converters handling the various line separators.
| Nested Class Summary | |
|---|---|
static class |
LineSeparatorConversion.FromLineFeed
Deprecated. Convert all the occurrences of '\n' in the given text to the requested line separator. |
static class |
LineSeparatorConversion.InitialSeparatorReader
Deprecated. |
static class |
LineSeparatorConversion.ToLineFeed
Deprecated. Convert all the occurrences of '\r' and '\r\n' in the text to '\n'. |
| Field Summary | |
|---|---|
static char |
LS
Deprecated. Unicode line separator. |
static String |
LS_LS
Deprecated. |
static String |
LS_PS
Deprecated. |
static char |
PS
Deprecated. Unicode paragraph separator. |
| Method Summary | |
|---|---|
static void |
convertFromLineFeed(String text,
int offset,
int length,
String lineFeedReplace,
StringBuffer output)
Deprecated. Convert all the occurrences of '\n' in the given text to the requested line separator. |
static String |
convertFromLineFeed(String text,
String lineFeedReplace)
Deprecated. Convert all the occurrences of '\n' in the given text to the requested line separator. |
static String |
convertToLineFeed(String text)
Deprecated. Convert all the occurrences of '\r' and '\r\n' in the text to '\n'. |
static void |
convertToLineFeed(String text,
int offset,
int length,
StringBuffer output)
Deprecated. Convert all the occurrences of '\r' and '\r\n' in the text to '\n'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final char LS
public static final char PS
public static final String LS_LS
public static final String LS_PS
| Method Detail |
|---|
public static String convertToLineFeed(String text)
text - text being converted
public static void convertToLineFeed(String text,
int offset,
int length,
StringBuffer output)
text - text being convertedoffset - offset of the first character in the text to be converted.length - number of characters to be converted.output - output buffer to which the converted characters are added.
public static String convertFromLineFeed(String text,
String lineFeedReplace)
text - text being convertedlineFeedReplace - characters that replace the '\n' character
in the converted text.
public static void convertFromLineFeed(String text,
int offset,
int length,
String lineFeedReplace,
StringBuffer output)
text - text being convertedoffset - offset of the first character in the text to be converted.length - number of characters to be converted.lineFeedReplace - characters that replace the '\n' character in the outputoutput - output buffer to which the converted characters are added.
|
org.netbeans.modules.editor.lib/3 3.23.0 19 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||