this.files.add(f); //?? easier way?
}
}
- FileOutputStream targetStream;
- FileOutputStream targetDebugStream;
+ FileOutputStream targetStream = null;
+ FileOutputStream targetDebugStream = null;
public void pack()
{
if (!this.files) {
throw new Packer.ArgumentError("No Files loaded before pack() called");
}
-
-
+ if (this.target.length > 0 ) {
+ this.targetStream = File.new_for_path(this.target).replace(null, false,FileCreateFlags.NONE);
+ }
this.packAll();
}