package org.aspectj.ajdt.internal.core.builder;
-import java.io.DataOutputStream;
import java.io.File;
import java.io.FileFilter;
import java.io.FilenameFilter;
import org.aspectj.org.eclipse.jdt.internal.core.builder.StringSet;
import org.aspectj.util.FileUtil;
import org.aspectj.weaver.BCException;
+import org.aspectj.weaver.CompressingDataOutputStream;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.bcel.BcelWeaver;
import org.aspectj.weaver.bcel.BcelWorld;
aspectClassFiles.add(aspectFile);
}
- public void write(DataOutputStream dos) throws IOException {
+ public void write(CompressingDataOutputStream dos) throws IOException {
// weaver
weaver.write(dos);
// world
* ******************************************************************/
package org.aspectj.ajdt.internal.core.builder;
-import java.io.DataOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.util.Set;
import org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager;
+import org.aspectj.weaver.CompressingDataOutputStream;
/**
* Central point for all things incremental... - keeps track of the state recorded for each different config file - allows limited
File f = new File("c:/temp/foo.ajstate");
try {
AjState state = (AjState) entry.getValue();
- DataOutputStream dos = new DataOutputStream(new FileOutputStream(f));
+ CompressingDataOutputStream dos = new CompressingDataOutputStream(new FileOutputStream(f));
state.write(dos);
dos.close();
} catch (FileNotFoundException e) {