"defaultTrimExclude.txt"
file. They cannot be altered by using this dialog.
If a method and its containing class are explicitly or implicitly excluded then
all the classes, fields and methods that that method accesses will implicitly be excluded from being trimmed.
So, for a simple, self contained application, if the public static main(java.lang.String[])
method and its containing class are excluded then all the
classes, fields and methods directly or indirectly accessed by the public static main(java.lang.String[])
method will be implicitly excluded from being trimmed.
This will result in all the "used" classes, fields and methods being excluded and all the "unused" classes, fields and methods being removed.
List item | Explanation |
Non-extensible library |
Your application is a "non-extensible library" if it does not form a complete application in its own right but rather is intended to be used by other developers
as part of their application without them having to extend any of your classes. An example is a 3rd party statistics library.
This setting of the "Application type" list means that your public classes, fields and methods need to be accessible to other classes but your classes will not be extended or implemented by other classes. It adds exclusion parameters that will prevent your public classes, fields and methods from being removed. |
Extensible framework |
Your application is an "extensible framework" if it does not form a complete application in its own right but rather is intended to be extended by other developers to become part of their application. The key difference between an "extensible framework" and a "non-extensible library" is that an "extensible framework" has classes that are abstract which need to be extended before they can do real work.
This setting of the "Application type" list means that your public classes, fields and methods and protected fields and methods need to be accessible to other classes because your classes will be extended or implemented by other classes. It adds exclusion parameters that will prevent your public classes, fields and methods and protected fields and methods from being removed. |
J2ME MIDlet | This setting of the "Application type" list means that your classes are J2ME MIDlets. It adds exclusion parameters that prevent your MIDlets from being removed. |
Self contained application or applet | Your application is an "Self contained application or applet" if it forms a complete functioning product in its own right. If you select this setting of the "Application type" list no extra exclusion parameters will be added to the "Exclusion parameter" list. Instead, you need to select the application entry point or Applet class in the Application entry point class list. |
public static main(java.lang.String[])
method or that extend java.applet.Applet
.
If your application contains more than one entry point then you will need to exclude these additional entry points by adding custom exclude parameters using the Add button.
Note: this button will not be present inside the "ZKM Script Helper" dialog sequence.
Note: this button will only be present if you are within a multi-step "helper" dialog sequence.