Class RejarClassesForAnalysis
java.lang.Object
edu.umd.cs.findbugs.workflow.RejarClassesForAnalysis
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class(package private) static interface -
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) SortedMap<String, ZipOutputStream> (package private) final int(package private) final String[](package private) int(package private) int(package private) ZipOutputStream(package private) final byte[](package private) boolean(package private) final RejarClassesForAnalysis.RejarClassesForAnalysisCommandLineFor each file, give the latest timestampWhile file should we copy it from(package private) int -
Constructor Summary
ConstructorsConstructorDescriptionRejarClassesForAnalysis(RejarClassesForAnalysis.RejarClassesForAnalysisCommandLine commandLine, int argCount, String[] args) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidcopyEntry(ZipFile zipInputFile, ZipEntry ze, boolean writeToAnalyzeOut, ZipOutputStream analyzeOut1, boolean writeToAuxiliaryOut, ZipOutputStream auxiliaryOut1) private ZipOutputStreamcreateZipFile(String fileName) private booleanembeddedNameMismatch(ZipFile zipInputFile, ZipEntry ze) private booleanvoidexecute()(package private) String(package private) StringgetZipOutputFile(String path) static voidnewZipEntry(ZipEntry ze) (package private) booleanstatic voidreadFrom(Collection<String> result, Reader r) static voidreadFromStandardInput(Collection<String> result)
-
Field Details
-
commandLine
-
argCount
final int argCount -
args
-
analysisOutputFiles
SortedMap<String, ZipOutputStream> analysisOutputFiles -
analysisCount
int analysisCount -
auxiliaryCount
int auxiliaryCount -
copied
-
copyFrom
-
excluded
-
filesToAnalyze
-
numFilesToAnalyze
int numFilesToAnalyze -
auxiliaryClassCount
int auxiliaryClassCount -
auxiliaryOut
ZipOutputStream auxiliaryOut -
buffer
final byte[] buffer -
classFileFound
boolean classFileFound
-
-
Constructor Details
-
RejarClassesForAnalysis
public RejarClassesForAnalysis(RejarClassesForAnalysis.RejarClassesForAnalysisCommandLine commandLine, int argCount, String[] args)
-
-
Method Details
-
readFromStandardInput
- Throws:
IOException
-
getZipOutputFile
-
readFrom
- Throws:
IOException
-
getNextAuxiliaryFileOutput
String getNextAuxiliaryFileOutput() -
getNextAnalyzeFileOutput
String getNextAnalyzeFileOutput() -
main
-
exclude
-
execute
- Throws:
IOException
-
createZipFile
- Throws:
IOException
-
embeddedNameMismatch
- Throws:
IOException
-
copyEntry
private void copyEntry(ZipFile zipInputFile, ZipEntry ze, boolean writeToAnalyzeOut, ZipOutputStream analyzeOut1, boolean writeToAuxiliaryOut, ZipOutputStream auxiliaryOut1) throws IOException - Throws:
IOException
-
advanceAuxiliaryOut
- Throws:
IOException
-
processZipEntries
-
newZipEntry
-