I just found the Java Method Call Wizard that you're talking about. I
didn't know that existed! This isn't a method, so it won't help with the
specific translation I am doing, but it will surely help with some of the
other stuff I'm doing for this project. Great tip Jon!
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
To: rpg400-l@xxxxxxxxxxxx,
Date: 03/05/2013 07:18 PM
Subject: Re: Prototyping an interface in RPG
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
On Tue, 5 Mar 2013, at 16:07:53, darren@xxxxxxxxx wrote:
I'm trying to figure out how to handle a java interface type object in
RPG.
The example I'm trying to replicate in RPG is using iText and the
TextExtractionStrategy interface. How do I define an object to have the
TextExtractionStrategy object type. When I read the javadoc, it doesn't
give me any clues to what to set the class to or even if there is a
constructor to specify.
Well you work for Dekko and I know they use RDP in the shop. why don't you
simply use the built-in prototype generator in RDP to produce them? It's
output is somewhat verbose and you cn only do one method at a time but it
works. The one previously available at foundation.be was much better in may
ways but it is not currently available right now and although I have access
to the code I haven't the time to get it up and running.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.