mirror of https://github.com/zlatinb/muwire
remove unneeded files
parent
f811653247
commit
40bbef4583
|
@ -1,20 +0,0 @@
|
||||||
package com.muwire.webui;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import net.i2p.I2PAppContext;
|
|
||||||
import net.i2p.router.RouterContext;
|
|
||||||
|
|
||||||
public class MuWireBean implements Serializable {
|
|
||||||
|
|
||||||
private final Object mwClient;
|
|
||||||
|
|
||||||
public MuWireBean() {
|
|
||||||
mwClient = ((RouterContext)I2PAppContext.getGlobalContext()).clientAppManager().getRegisteredApp("MuWire");
|
|
||||||
}
|
|
||||||
|
|
||||||
public Object getMwClient() {
|
|
||||||
return mwClient;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,29 +0,0 @@
|
||||||
package com.muwire.webui;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
|
|
||||||
import javax.servlet.ServletConfig;
|
|
||||||
import javax.servlet.ServletException;
|
|
||||||
|
|
||||||
public class SharedContentServlet extends BasicServlet {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void init(ServletConfig config) throws ServletException {
|
|
||||||
super.init(config);
|
|
||||||
loadMimeMap("com/muwire/webui/mime");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Find the file for the hash.
|
|
||||||
*
|
|
||||||
* @param pathInContext should always start with /
|
|
||||||
* @return file or null
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public File getResource(String pathInContext)
|
|
||||||
{
|
|
||||||
File r = null;
|
|
||||||
// TODO
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue