Page 1 of 1

What does EXP file do ??

Posted: Mon Oct 12, 2015 3:53 am
by Dhawan
Today i found a .exp file under the directory which is the same as the .cap file.

What does this EXP file do ??
thx

Re: What does EXP file do ??

Posted: Mon Oct 12, 2015 10:04 pm
by UNKNwYSHSA
The JCVM specification said:
An export file can be produced by a Java Card
converter when a package is converted. This package’s export file can be used later
to convert another package that imports classes from the first package. Information
in the export file is included in the CAP file of the second package, then is used on
the device to link the contents of the second package to items imported from the first
package.
A Java Card technology-based export file (“Java Card export file”) contains the
public interface information for an entire package of classes. This means that an
export file only contains information about the public API of a package, and does
not include information used to link classes within a package.


In "CHAPTER 4 Binary Representation" is the description of the EXP file; Look "CHAPTER 5 The Export File Format" for more details.