Added info about SerializePreserver.

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1359 379699f6-c40d-0410-875b-85095c16579e
master
hoenicke 23 years ago
parent c0bd096c0d
commit 06f647eb1c
  1. 10
      jode/doc/usage.php

@ -166,12 +166,16 @@ load = new WildCard { value = "org.myorg.myproject" },
<p>Select the methods and classes you want to preserve. This is <p>Select the methods and classes you want to preserve. This is
the <tt>main</tt> method for applications and the default constructor the <tt>main</tt> method for applications and the default constructor
<tt>&lt;init&gt;.()V</tt> for applets, resource bundles and other classes <tt>&lt;init&gt;.()V</tt> for applets, resource bundles and other classes
that you load manually at runtime.<br> You have to give the method that you load manually at runtime. <br>
You have to give the method
name and the type signature to identify your method. <tt>javap name and the type signature to identify your method. <tt>javap
-s</tt> will show you the type signatures for your classes, but you -s</tt> will show you the type signatures for your classes, but you
may also use <tt>*</tt>, to select all methods with that name.</p> may also use <tt>*</tt>, to select all methods with that name.
If you have serializable classes and want to preserve their serialized
form you can use the <tt>SerializePreserver</tt>. </p>
<pre> <pre>
preserve = new WildCard { value = "org.myorg.ApplicationClass.main.*" }, preserve = new SerializePreserver,
new WildCard { value = "org.myorg.ApplicationClass.main.*" },
new WildCard { value = "org.myorg.AppletClass.&lt;init&gt;.()V" }, new WildCard { value = "org.myorg.AppletClass.&lt;init&gt;.()V" },
new WildCard { value = "org.resources.Bundle*.&lt;init&gt;.()V" }, new WildCard { value = "org.resources.Bundle*.&lt;init&gt;.()V" },
</pre> </pre>

Loading…
Cancel
Save