Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

A little doubt of StringDef

JavaCard Applet Development Related Questions and Answers.
BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

A little doubt of StringDef

Post by BirdKing » Thu Dec 06, 2018 6:22 am

In javacard_spec-3_1_0, Annotation is something new. The usage of example that is " For example: @StringDef(name = "S2", reference = "com.sun.jcclassic.samples.stringlib.LibStrings.Hello") " is explained. I doubt how to find the reference object based on this string?

happy123654
Posts: 35
Joined: Wed Jun 20, 2018 4:06 am
Points :218
Contact:

Re: A little doubt of StringDef

Post by happy123654 » Thu Dec 06, 2018 11:54 pm

Ref object will be found in the class: com.sun.jcclassic.samples.stringlib.LibStrings.
This class had defined the variable "Hello" and this variable "Hello" is string.

BirdKing
Posts: 86
Joined: Wed Nov 04, 2015 7:23 am
Points :656
Contact:

Re: A little doubt of StringDef

Post by BirdKing » Mon Dec 10, 2018 12:29 am

So the string of "com.sun.jcclassic.samples.stringlib.LibStrings.Hello" indicates a reference...

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 50 guests

JavaCard OS : Disclaimer