Configuration file for CSV (hptl_jp1_imss_csv_setting.properties)
- Organization of this page
Description
This file defines how to handle linefeed characters in Item information CSV files and related information CSV files that are processed by the jssitemexportEx (exports extended Item information) and jssitemimportEx (imports extended Item information) commands.
For details about Item information CSV files and related information CSV files to be output, see jssitemexportEx (exports extended Item information) in Chapter 11.Commands.
Format
#Replace Linefeed code of CSV file hptl_jp1_imss_replace_linefeed_flag=Convert a specific character into a linefeed character, or do not convert hptl_jp1_imss_replace_linefeed_string="replaced-linefeed-character"
Lines starting with a hash mark (#) are treated as comments.
File names
-
hptl_jp1_imss_csv_setting.properties (Configuration file for CSV)
-
hptl_jp1_imss_csv_setting.properties.model (Model configuration file for CSV)#
- #
-
You can use the model file to reset the contents of the configuration file for CSV. To do so, delete the existing configuration file for CSV, then copy and rename the model file.
Storage folder
IM-SS-path\conf\
When the definition is applied
When you execute the jssitemexportEx (exports extended Item information) command or the jssitemimportEx (imports extended Item information) command, the definition is applied to JP1/IM - Service Support.
What is described
Do not edit any keys other than those explained in the following table. Use an equal sign (=) to connect a key and its value.
Property key |
Description |
Default value |
---|---|---|
hptl_jp1_imss_replace_linefeed_flag |
When you use the jssitemimportEx command to register Item information, specify whether to register it after converting a specific string (a value specified for hptl_jp1_imss_replace_linefeed_string) in the input file into a linefeed character. For elements for which you cannot specify a linefeed character, no conversion is performed.
When you use the jssitemexportEx command to output Item information, the linefeed character is converted to the value that is specified for hptl_jp1_imss_replace_linefeed_string regardless of the value of this property key. |
true |
hptl_jp1_imss_replace_linefeed_string |
When you use the jssitemimportEx command to register Item information, if you want to replace a specific string with a linefeed character, specify the string you want to replace with a linefeed character. When you use the jssitemexportEx command to output Item information, if you want to replace linefeed characters contained in the Item information with a specific string, specify the string after replacement. Specifiable values are a string of 1 to 32 bytes. Specify them by using characters other than control characters (0x00 to 0x1F, and 0x7F), double-quotation marks ("), and commas (,). In addition, the string you specify does not correspond to regular expressions. |
[\r\n] |
Notes
-
The Configuration file for CSV (hptl_jp1_imss_csv_setting.properties) must be created or edited with a character encoding that is compatible with the system locale of the machine on which JP1/IM - Service Support is installed. You can use one of the following character encodings:
-
In a Japanese environment: MS932
-
In an English environment: ISO-8859-1
-
In a Chinese environment: GB18030
-
Definition example
The following is a definition example:
#Replace Linefeed code of CSV file hptl_jp1_imss_replace_linefeed_flag=true hptl_jp1_imss_replace_linefeed_string="[\n]"