I have a jar file named "mail.jar" .I have extracted the jar file through java code. Now I have manifest file present under "D:/Test/META-INF/MANIFEST.MF" location.This is the image of Manifest.mf file content. Any way I am able to read to Manifest file by the help of FileReader and BufferedReader and print it to the console. In the manifest file ,below specifications r present. (1)Manifest-Version: (2)Archiver-Version: (3)Created-By: (4)Export-Package:
Now my doubt is how to get all the package list under Export-Package: tag only . Can anyone help me here ?? Any help will be appreciated.
O/P should display like below screen shot. Expected O/P screen shot
Regards, AD