'Base64()' has private access in 'java.util.Base64
时间: 2023-12-04 14:04:26 浏览: 312
在Java中,'Base64()'是java.util.Base64类的构造函数。根据引用,这个类是在JDK 1.8时引入的,之前的版本的标准库没有这个类。根据引用,java.util.Base64类包含了base64编码格式的编码和解码方法,实现是按照rfc4648和rfc2045两个协议来实现的。编码器会根据'Table 1'中指定的基本64字母表进行编码,而解码器只会处理在该字母表范围内的数据,不在范围内的数据将被拒绝处理。所以,'Base64()'构造函数在java.util.Base64类中是私有的,只能在其内部使用。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [java.util.base64报错解决](https://blog.csdn.net/weixin_30387423/article/details/99570112)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [base64使用中问题总结](https://blog.csdn.net/jaemy2011/article/details/105491094)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Sakemail](https://download.csdn.net/download/chenxh/143617)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文