From 06f647eb1c0ea61a291501b717f806f9b1d621c5 Mon Sep 17 00:00:00 2001 From: hoenicke Date: Mon, 4 Feb 2002 09:42:55 +0000 Subject: [PATCH] Added info about SerializePreserver. git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1359 379699f6-c40d-0410-875b-85095c16579e --- jode/doc/usage.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/jode/doc/usage.php b/jode/doc/usage.php index f7a55d7..e1137cc 100644 --- a/jode/doc/usage.php +++ b/jode/doc/usage.php @@ -166,12 +166,16 @@ load = new WildCard { value = "org.myorg.myproject" },

Select the methods and classes you want to preserve. This is the main method for applications and the default constructor <init>.()V for applets, resource bundles and other classes -that you load manually at runtime.
You have to give the method +that you load manually at runtime.
+You have to give the method name and the type signature to identify your method. javap -s will show you the type signatures for your classes, but you -may also use *, to select all methods with that name.

+may also use *, to select all methods with that name. +If you have serializable classes and want to preserve their serialized +form you can use the SerializePreserver.

-preserve = new WildCard { value = "org.myorg.ApplicationClass.main.*" },
+preserve = new SerializePreserver,
+           new WildCard { value = "org.myorg.ApplicationClass.main.*" },
            new WildCard { value = "org.myorg.AppletClass.<init>.()V" },
            new WildCard { value = "org.resources.Bundle*.<init>.()V" },