summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahaase2008-01-24 11:44:06 (EST)
committer ahaase2008-01-24 11:44:06 (EST)
commitc2d31eabce6323f2140ac0bed2271fe7cf425665 (patch)
treec66d20b0a9c77ba08b887f1076ecc2e6f97e9f76
parent9b7d17657a74864f10a80a9029787e68f3e92747 (diff)
downloadorg.eclipse.xpand-c2d31eabce6323f2140ac0bed2271fe7cf425665.zip
org.eclipse.xpand-c2d31eabce6323f2140ac0bed2271fe7cf425665.tar.gz
org.eclipse.xpand-c2d31eabce6323f2140ac0bed2271fe7cf425665.tar.bz2
added a convenience constructor
-rw-r--r--plugins/org.eclipse.xpand/src/org/eclipse/xpand2/output/Outlet.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/org.eclipse.xpand/src/org/eclipse/xpand2/output/Outlet.java b/plugins/org.eclipse.xpand/src/org/eclipse/xpand2/output/Outlet.java
index 773cad6..069661a 100644
--- a/plugins/org.eclipse.xpand/src/org/eclipse/xpand2/output/Outlet.java
+++ b/plugins/org.eclipse.xpand/src/org/eclipse/xpand2/output/Outlet.java
@@ -124,6 +124,14 @@ public class Outlet {
public Outlet() {
}
+ public Outlet (boolean append, String encoding, String name, boolean overwrite, String path) {
+ this.append = append;
+ this.fileEncoding = encoding;
+ this.name = name;
+ this.overwrite = overwrite;
+ this.path = path;
+ }
+
public boolean shouldWrite(FileHandleImpl fileHandleImpl) {
for (VetoStrategy vs : vetoStartegies) {
if (vs.hasVeto(fileHandleImpl))