开发者

Dynamically detecting supported configuration/profile/JSRs in Java ME

开发者 https://www.devze.com 2022-12-22 13:07 出处:网络
How do I dynamically detect what profile/configuration is being used and what JSRs are supported? I know that you can dynamically detect supported classes, but I would be surprised if picking a random

How do I dynamically detect what profile/configuration is being used and what JSRs are supported? I know that you can dynamically detect supported classes, but I would be surprised if picking a random class that should only be in a particular profile/configuration wer开发者_开发知识库e the proper way of doing this.


Use System.getProperty on the "microedition.configuration" and "microedition.profiles" properties. Other JSRs may have defined properties as well. Look at the list of defined property names.

0

精彩评论

暂无评论...
验证码 换一张
取 消