Package com._1c.g5.v8.dt.xml
Enum LineFeedConverter.ConvertOption
- java.lang.Object
-
- java.lang.Enum<LineFeedConverter.ConvertOption>
-
- com._1c.g5.v8.dt.xml.LineFeedConverter.ConvertOption
-
- All Implemented Interfaces:
Serializable
,Comparable<LineFeedConverter.ConvertOption>
- Enclosing class:
- LineFeedConverter
public static enum LineFeedConverter.ConvertOption extends Enum<LineFeedConverter.ConvertOption>
Defines the convert options. May be used withLineFeedConverter
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REMOVE_BOM
Remove UTF-8 BOM informationTO_CRLF
Convert LF with no CR before to CRLF in specified textTO_LF
Convert one or many CR and then LF or single CR to LFTO_SYSTEM_LINE_ENDINGS
Content given source to system line seporatorWRITE_BOM
Write UTF-8 BOM information
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LineFeedConverter.ConvertOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static LineFeedConverter.ConvertOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TO_SYSTEM_LINE_ENDINGS
public static final LineFeedConverter.ConvertOption TO_SYSTEM_LINE_ENDINGS
Content given source to system line seporator
-
TO_LF
public static final LineFeedConverter.ConvertOption TO_LF
Convert one or many CR and then LF or single CR to LF
-
TO_CRLF
public static final LineFeedConverter.ConvertOption TO_CRLF
Convert LF with no CR before to CRLF in specified text
-
WRITE_BOM
public static final LineFeedConverter.ConvertOption WRITE_BOM
Write UTF-8 BOM information
-
REMOVE_BOM
public static final LineFeedConverter.ConvertOption REMOVE_BOM
Remove UTF-8 BOM information
-
-
Method Detail
-
values
public static LineFeedConverter.ConvertOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LineFeedConverter.ConvertOption c : LineFeedConverter.ConvertOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LineFeedConverter.ConvertOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-