Why do you want to parse .class or .exe files? That's not normally a part of
a testing program.

If you want to test Java code, one of the most common approaches is to use
JUnit Test, which is described at http://junit.org/index.htm.

If you simply want to distinguish between Java and C/C++ code, I think most
people handle that by putting Java .class files in different directories
than C/C++ .exe files. This is much simpler than trying to parse a file to
determine what it is.

Rhino


From: Zouhua Ding <[EMAIL PROTECTED]>
Reply-To: "A mailing list for discussion about Sun Microsystem's Java
        Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: parsing .class file and .exe file
Date: Sun, 20 Jun 2004 12:50:55 -0600

Hi, guys,

We try to build a software to test software created with C/C++ or Java.
The first step is to read .class or .exe files and parse them to
text files. Any one knows this? Please help us.

Thanks in advance.

ZDing

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

_________________________________________________________________ MSN Premium helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to