public class XmlTasksetsWriter extends Object implements ITasksetsWriter, ITaskElementVisitor
Constructor and Description |
---|
XmlTasksetsWriter(File outFile,
long pr) |
XmlTasksetsWriter(OutputStream outputStream,
long pr) |
XmlTasksetsWriter(String fileName,
long pr) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream opened by this TasksetWriter.
|
void |
flush() |
void |
visitGraphTask(GraphTask task) |
void |
visitSimpleTask(SimpleTask task) |
void |
visitSubTask(SubTask task) |
void |
visitTaskset(ITask[] taskSet,
int pr) |
void |
write(ITask[] taskSet) |
void |
write(ITaskSet taskset) |
void |
write(Iterable<ITask[]> tasksets) |
void |
write(List<ITask> taskset) |
public XmlTasksetsWriter(String fileName, long pr) throws Exception
Exception
public XmlTasksetsWriter(File outFile, long pr) throws Exception
Exception
public XmlTasksetsWriter(OutputStream outputStream, long pr) throws Exception
Exception
public void write(ITask[] taskSet) throws IOException
write
in interface ITasksetsWriter
IOException
public void write(List<ITask> taskset) throws IOException
write
in interface ITasksetsWriter
IOException
public void write(ITaskSet taskset) throws IOException
write
in interface ITasksetsWriter
IOException
public void write(Iterable<ITask[]> tasksets) throws IOException
write
in interface ITasksetsWriter
IOException
public void visitTaskset(ITask[] taskSet, int pr) throws IOException
visitTaskset
in interface ITaskElementVisitor
IOException
public void visitGraphTask(GraphTask task)
visitGraphTask
in interface ITaskElementVisitor
public void visitSimpleTask(SimpleTask task) throws IOException
visitSimpleTask
in interface ITaskElementVisitor
IOException
public void visitSubTask(SubTask task)
visitSubTask
in interface ITaskElementVisitor
public void close()
close
in interface ITaskElementVisitor
close
in interface ITasksetsWriter
IOException
public void flush() throws IOException
flush
in interface ITasksetsWriter
IOException
Copyright © 2013. All Rights Reserved.