PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Peoplecode Java overload

edited Mar 10, 2016 4:06AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 1 commentAnswered

So I tried using BAC030 for the Mainfest.  The MD5 appears to be opening the file and getting the hash count.  Unfortunately I am getting an overload error for the InputStream

I understand that this is caused because there are many class with the same name but different input types and that we need to construct correctly to call the method.  I do not know how though.

Any help?

Local JavaObject &jFile = CreateJavaObject("java.io.File", &1094C_FullPath);

Local JavaObject &jFileReader = CreateJavaObject("java.io.FileInputStream", &jFile);

Local JavaObject &messageDigest = GetJavaClass("java.security.MessageDigest").getInstance("MD5");

Local JavaObject &jByteArray = CreateJavaArray("byte[]", 1024);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center