UnicodeDecode.Options
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
상속된 메서드
java.lang.Object 클래스에서 부울 | 같음 (개체 arg0) |
마지막 수업<?> | getClass () |
정수 | 해시 코드 () |
최종 무효 | 알림 () |
최종 무효 | 통지모두 () |
끈 | toString () |
최종 무효 | 대기 (long arg0, int arg1) |
최종 무효 | 기다리세요 (긴 arg0) |
최종 무효 | 기다리다 () |
공개 방법
매개변수
오류 | 입력에 잘못된 형식이 있는 경우 오류 처리 정책입니다. 'strict' 값을 사용하면 잘못된 입력 형식에 대해 작업에서 InvalidArgument 오류가 생성됩니다. 'replace' 값(기본값)을 사용하면 입력의 잘못된 형식을 `replacement_char` 코드 포인트로 바꾸는 작업이 수행됩니다. 'ignore' 값을 사용하면 작업이 입력에서 잘못된 형식을 건너뛰고 해당 출력 문자가 생성되지 않습니다. |
---|
공용 UnicodeDecode.Options 대체ControlCharacters (부울 대체ControlCharacters)
매개변수
교체컨트롤문자 | C0 제어 문자(00-1F)를 `replacement_char`로 바꿀지 여부입니다. 기본값은 거짓입니다. |
---|
매개변수
교체문자 | `errors='replace'`일 때 입력의 유효하지 않은 형식화 대신 사용할 대체 문자 코드포인트입니다. 유효한 유니코드 코드 포인트를 사용할 수 있습니다. 기본값은 기본 유니코드 대체 문자가 0xFFFD 또는 U+65533입니다.) |
---|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# UnicodeDecode.Options\n\npublic static class **UnicodeDecode.Options** \nOptional attributes for [UnicodeDecode](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode) \n\n### Public Methods\n\n|---------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [UnicodeDecode.Options](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options) | [errors](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options#errors(java.lang.String))(String errors) |\n| [UnicodeDecode.Options](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options) | [replaceControlCharacters](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options#replaceControlCharacters(java.lang.Boolean))(Boolean replaceControlCharacters) |\n| [UnicodeDecode.Options](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options) | [replacementChar](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options#replacementChar(java.lang.Long))(Long replacementChar) |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [UnicodeDecode.Options](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options)\n**errors**\n(String errors)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| errors | Error handling policy when there is invalid formatting found in the input. The value of 'strict' will cause the operation to produce a InvalidArgument error on any invalid input formatting. A value of 'replace' (the default) will cause the operation to replace any invalid formatting in the input with the \\`replacement_char\\` codepoint. A value of 'ignore' will cause the operation to skip any invalid formatting in the input and produce no corresponding output character. |\n|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public [UnicodeDecode.Options](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options)\n**replaceControlCharacters**\n(Boolean replaceControlCharacters)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| replaceControlCharacters | Whether to replace the C0 control characters (00-1F) with the \\`replacement_char\\`. Default is false. |\n|--------------------------|-------------------------------------------------------------------------------------------------------|\n\n#### public [UnicodeDecode.Options](/jvm/api_docs/java/org/tensorflow/op/strings/UnicodeDecode.Options)\n**replacementChar**\n(Long replacementChar)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| replacementChar | The replacement character codepoint to be used in place of any invalid formatting in the input when \\`errors='replace'\\`. Any valid unicode codepoint may be used. The default value is the default unicode replacement character is 0xFFFD or U+65533.) |\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]