de.akquinet.jbosscc.guttenbase.defaults.impl.DefaultZipExporterClassResources Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.defaults.impl;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.io.IOUtils;
import org.apache.log4j.Logger;
import de.akquinet.jbosscc.guttenbase.export.zip.ZipExporter;
import de.akquinet.jbosscc.guttenbase.export.zip.ZipExporterClassResources;
import de.akquinet.jbosscc.guttenbase.export.zip.ZipStartup;
/**
* Default implementation.
*
*
* © 2012-2020 akquinet tech@spree
*
*
* @author M. Dahm
*/
public class DefaultZipExporterClassResources implements ZipExporterClassResources {
@Override
public Class> getStartupClass() {
return ZipStartup.class;
}
@Override
public List> getClassResources() {
final List> classes = new ArrayList<>();
classes.add(getStartupClass());
classes.add(ZipExporter.class); // Representing all GuttenBase classes
classes.add(Logger.class);
classes.add(IOUtils.class);
return classes;
}
@Override
public Map getUrlResources() {
return new HashMap<>();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy