0
|
1 package de.mpiwg.itgroup.escidoc.MPIWGServices.Restlet;
|
|
2
|
|
3 import java.io.InputStream;
|
|
4
|
|
5 import org.restlet.data.MediaType;
|
|
6 import org.restlet.representation.InputRepresentation;
|
|
7 import org.restlet.representation.Representation;
|
|
8 import org.restlet.resource.Get;
|
|
9 import org.restlet.resource.ServerResource;
|
|
10
|
|
11 public class ResultOverviewCSS extends ServerResource{
|
|
12
|
|
13 @Get("html")
|
|
14 public Representation getHtml(){
|
|
15
|
|
16 InputStream in = getClass().getResourceAsStream("/de/mpiwg/itgroup/escidoc/MPIWGServices/Restlet/staticPages/resultOverview.css");
|
|
17
|
|
18 return new InputRepresentation(in, MediaType.TEXT_CSS);
|
|
19 }
|
|
20 }
|