Package com._1c.g5.v8.dt.xml
Enum Class 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>
,Constable
- Enclosing class:
- LineFeedConverter
Defines the convert options. May be used with
LineFeedConverter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRemove UTF-8 BOM informationConvert LF with no CR before to CRLF in specified textConvert one or many CR and then LF or single CR to LFContent given source to system line seporatorWrite UTF-8 BOM information -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static LineFeedConverter.ConvertOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TO_SYSTEM_LINE_ENDINGS
Content given source to system line seporator -
TO_LF
Convert one or many CR and then LF or single CR to LF -
TO_CRLF
Convert LF with no CR before to CRLF in specified text -
WRITE_BOM
Write UTF-8 BOM information -
REMOVE_BOM
Remove UTF-8 BOM information
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-