public class MapOutputHandler extends java.lang.Object implements OutputHandler
Constructor and Description |
---|
MapOutputHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
exists(java.lang.String path) |
java.lang.String |
getOutputLocation() |
java.util.Map<java.lang.String,java.lang.String> |
getProject() |
void |
write(java.lang.String path,
Template contents) |
public boolean exists(java.lang.String path)
exists
in interface OutputHandler
public void write(java.lang.String path, Template contents) throws java.io.IOException
write
in interface OutputHandler
java.io.IOException
public java.lang.String getOutputLocation()
getOutputLocation
in interface OutputHandler
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> getProject()