Package edu.umd.cs.findbugs.workflow
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.RejarClassesForAnalysisCommandLine
For 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 void
private void
copyEntry
(ZipFile zipInputFile, ZipEntry ze, boolean writeToAnalyzeOut, ZipOutputStream analyzeOut1, boolean writeToAuxiliaryOut, ZipOutputStream auxiliaryOut1) private ZipOutputStream
createZipFile
(String fileName) private boolean
embeddedNameMismatch
(ZipFile zipInputFile, ZipEntry ze) private boolean
void
execute()
(package private) String
(package private) String
getZipOutputFile
(String path) static void
newZipEntry
(ZipEntry ze) (package private) boolean
static void
readFrom
(Collection<String> result, Reader r) static void
readFromStandardInput
(Collection<String> result)
-
Field Details
-
commandLine
-
argCount
final int argCount -
args
-
analysisOutputFiles
SortedMap<String,ZipOutputStream> analysisOutputFiles -
analysisCount
int analysisCount -
auxiliaryCount
int auxiliaryCount -
copied
For each file, give the latest timestamp -
copyFrom
While file should we copy it from -
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
- Throws:
Exception
-
exclude
-
execute
- Throws:
IOException
-
createZipFile
- Throws:
FileNotFoundException
-
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
-