view src/de/mpiwg/itgroup/escidoc/MPIWGServices/Restlet/ResultOverviewCSS.java @ 0:1aac45997235

first ingest
author dwinter
date Wed, 01 Dec 2010 17:35:51 +0100
parents
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); 
	}
}