@Singleton
public class ServerPageExporter
extends java.lang.Object
Constructor and Description |
---|
ServerPageExporter(PlanFiles files,
PageFactory pageFactory,
DBSystem dbSystem,
RootJSONHandler jsonHandler,
Locale locale,
Theme theme,
ServerInfo serverInfo) |
Modifier and Type | Method and Description |
---|---|
void |
export(java.nio.file.Path toDirectory,
Server server) |
void |
exportJSON(java.nio.file.Path toDirectory,
Server server) |
@Inject public ServerPageExporter(PlanFiles files, PageFactory pageFactory, DBSystem dbSystem, RootJSONHandler jsonHandler, Locale locale, Theme theme, ServerInfo serverInfo)
public void export(java.nio.file.Path toDirectory, Server server) throws java.io.IOException, NotFoundException, ParseException
java.io.IOException
NotFoundException
ParseException
public void exportJSON(java.nio.file.Path toDirectory, Server server) throws java.io.IOException, NotFoundException
java.io.IOException
NotFoundException