class FILTER_INVALID_UTF_8_APP
Sub-application to Filter out all invalid UTF-8 lines from file See class FILTER_INVALID_UTF_8 for details.
note
description: "[
Sub-application to Filter out all invalid UTF-8 lines from file
See class ${FILTER_INVALID_UTF_8} for details.
]"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2024-01-20 19:18:27 GMT (Saturday 20th January 2024)"
revision: "14"
class
FILTER_INVALID_UTF_8_APP
inherit
EL_LOGGED_COMMAND_LINE_APPLICATION [FILTER_INVALID_UTF_8]
redefine
Option_name
end
create
make
feature {NONE} -- Implementation
argument_specs: ARRAY [EL_COMMAND_ARGUMENT]
do
Result := <<
required_argument ("in", "Input file path", << file_must_exist >>)
>>
end
default_make: PROCEDURE [like command]
do
Result := agent {like command}.make ("")
end
log_filter_set: EL_LOG_FILTER_SET [like Current, FILTER_INVALID_UTF_8]
--
do
create Result.make
end
feature {NONE} -- Constants
Option_name: STRING = "filter_utf_8"
end