}
}
int classCount = classFileList.size();
String[] fileNames = new String[classCount];
StreamFactory streamFactory = new StreamFactory();
for (int classIndex = 0; classIndex < classCount; classIndex++) {
ClassFile classFile =
(ClassFile) classFileList.elementAt(classIndex);
String javaPathName =
Conventions.getJavaPathName(
getWorkingDirectory(),
classFile.packageName);
String javaFileName = classFile.className + ".java";
OutputStream os =
streamFactory.getOutputStream(
javaPathName,
javaFileName,
overwrite);
Writer classWriter = new OutputStreamWriter(os);