view src/de/mpiwg/itgroup/escidoc/MPIWGServices/Restlet/ResultOverviewCSS.java @ 1:4e4db73085b4

config_template_added
author dwinter
date Wed, 01 Dec 2010 17:42:10 +0100
parents 1aac45997235
children
line wrap: on
line source

package de.mpiwg.itgroup.escidoc.MPIWGServices.Restlet;

import java.io.InputStream;

import org.restlet.data.MediaType;
import org.restlet.representation.InputRepresentation;
import org.restlet.representation.Representation;
import org.restlet.resource.Get;
import org.restlet.resource.ServerResource;

public class ResultOverviewCSS extends ServerResource{
	
	@Get("html")
	public Representation getHtml(){
	
		InputStream in = getClass().getResourceAsStream("/de/mpiwg/itgroup/escidoc/MPIWGServices/Restlet/staticPages/resultOverview.css");
		
		return new InputRepresentation(in, MediaType.TEXT_CSS); 
	}
}