Class JavaClassHelper
java.lang.Object
org.apache.tools.ant.filters.util.JavaClassHelper
Helper class that filters constants from a Java Class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringBuffer
getConstants
(byte[] bytes) Get the constants declared in a file as name=value
-
Constructor Details
-
JavaClassHelper
public JavaClassHelper()
-
-
Method Details
-
getConstants
Get 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:
IOException
- if an error occurs
-