ObjectInputStream类resolveClass()方法 (ObjectInputStream Class resolveClass() method)
resolveClass() method is available in java.io package.
resolveClass()方法在java.io包中可用。
resolveClass() method is used to load the local class that is similar to the given ObjectStreamClass descriptor.
resolveClass()方法用于加载与给定的ObjectStreamClass描述符相似的本地类。
resolveClass() method is a non-static method, it is accessible with the class object only and if we try to access the method with the class name then we will get an error.
resolveClass()方法是一种非静态方法,只能通过类对象访问,如果尝试使用类名称访问该方法,则会收到错误消息。
resolveClass() method may throw an exception at the time of resolving
最后
以上就是老迟到酸奶最近收集整理的关于Java ObjectInputStream resolveClass()方法与示例的全部内容,更多相关Java内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复