Class JavaClassHelper
- java.lang.Object
- 
- org.apache.tools.ant.filters.util.JavaClassHelper
 
- 
 public final class JavaClassHelper extends java.lang.ObjectHelper class that filters constants from a Java Class
- 
- 
Constructor SummaryConstructors Constructor Description JavaClassHelper()
 - 
Method SummaryModifier and Type Method Description static java.lang.StringBuffergetConstants(byte[] bytes)Get the constants declared in a file as name=value
 
- 
- 
- 
Method Detail- 
getConstantspublic static java.lang.StringBuffer getConstants(byte[] bytes) throws java.io.IOExceptionGet the constants declared in a file as name=value- Parameters:
- bytes- the class as a array of bytes
- Returns:
- a StringBuffer contains the name=value pairs
- Throws:
- java.io.IOException- if an error occurs
 
 
- 
 
-