Package org.eclipse.steady.java
Class AarAnalyzer
- java.lang.Object
-
- org.eclipse.steady.java.JarAnalyzer
-
- org.eclipse.steady.java.AarAnalyzer
-
- All Implemented Interfaces:
Callable<FileAnalyzer>,FileAnalyzer,JarEntryWriter
@NotThreadSafe public class AarAnalyzer extends JarAnalyzer
AarAnalyzer class.
-
-
Field Summary
-
Fields inherited from class org.eclipse.steady.java.JarAnalyzer
classCount, constructs, enumCount, instrControl, instrument, interfaceCount, jar, jarWriter, rename, url, workDir
-
-
Constructor Summary
Constructors Constructor Description AarAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyze(File _file)StringgetFileName()getFileName.StringgetSHA1()Returns the SHA1 digest of the JAR.String[]getSupportedFileExtensions()-
Methods inherited from class org.eclipse.steady.java.JarAnalyzer
call, canAnalyze, containsConstruct, createInstrumentedArchive, equals, getAppContext, getChilds, getClassNames, getClassPool, getConstruct, getConstructIds, getConstructs, getFileSize, getFqClassname, getInputStream, getInstrumentationControl, getInstrumentedArchive, getInstrumentedFileSize, getLibrary, getParent, getPath, getSharedConstructs, hasChilds, hashCode, hasJARConstructs, insertClasspath, isJavaIdentifier, setAppContext, setInstrument, setLibraryId, setParent, setRename, setWorkDir, toString
-
-
-
-
Method Detail
-
getSupportedFileExtensions
public String[] getSupportedFileExtensions()
- Specified by:
getSupportedFileExtensionsin interfaceFileAnalyzer- Overrides:
getSupportedFileExtensionsin classJarAnalyzer
-
analyze
public void analyze(File _file) throws FileAnalysisException
- Specified by:
analyzein interfaceFileAnalyzer- Overrides:
analyzein classJarAnalyzer- Throws:
FileAnalysisException
-
getSHA1
public String getSHA1()
Returns the SHA1 digest of the JAR. Either taken from the manifest (entry VULAS-originalSHA1, in case the original JAR has been instrumented offline), or by computing it on the fly. Returns the SHA1 digest of the AAR by computing it on the fly.- Overrides:
getSHA1in classJarAnalyzer- Returns:
- the SHA1 digest of the JAR
-
getFileName
public String getFileName()
getFileName.
- Overrides:
getFileNamein classJarAnalyzer- Returns:
- a
Stringobject.
-
-