Interface IProcessEncoding
-
- All Known Implementing Classes:
ProcessEncoding
public interface IProcessEncoding
Encoding provider delegate, that provides encodings, that can be used to read JVMProcessBuilder
orRuntime.exec()
output streams. An encoding provider delegate extension is defined inplugin.xml
.Following is an example definition of an encoding provider delegate:
<extension point="com._1c.g5.v8.dt.platform.services.core.processEncodings"> <processEncoding class="com._1c.g5.v8.dt.platform.services.core.runtimes.ProcessEncoding"> </processEncoding> </extension>
If provided, then specific encodings, defined in
IProcessEncoding
will be used. Defaults will be used otherwise. One or zero registeredIProcessEncoding
per user OS are expected. Also provides, whether needs to split infobase commands inProcessBuilder
.This interface is intended to be implemented and registered by clients.
Instances are not intended to be explicitly used by client, use
IProcessEncodingProvider
instead.- See Also:
IProcessEncodingProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Charset
getLogFileEncoding()
Returns 1C:Enterprise log file encoding charset.Charset
getOutputEncoding()
Returns default processes output encoding, that can be used to read JVMProcessBuilder
orRuntime.exec()
output streams.boolean
splitInfobaseConnection()
Returns whether need to split infobase name from infobase command option in infobase connection option.
-
-
-
Method Detail
-
getOutputEncoding
Charset getOutputEncoding()
Returns default processes output encoding, that can be used to read JVMProcessBuilder
orRuntime.exec()
output streams.- Returns:
- the default processes output encoding, never
null
-
getLogFileEncoding
Charset getLogFileEncoding()
Returns 1C:Enterprise log file encoding charset.- Returns:
- the charset for 1C:Enterprise log file, never
null
-
splitInfobaseConnection
boolean splitInfobaseConnection()
Returns whether need to split infobase name from infobase command option in infobase connection option.- Returns:
- whether need to split infobase name from infobase command option
-
-