com.xmlserv.main
Interface StylesheetRepository

All Known Implementing Classes:
WebInfStylesheetRepository

public interface StylesheetRepository

This interface defines a storage backend for stylesheets. The identifier used to access the stylesheets will in most cases look like a normal filesystem path, but the backend is free to implement the actual storage mechanism as needed.

Version:
$Id: StylesheetRepository.java,v 1.4 2002/05/22 11:36:22 muecke Exp $
Author:
Wolfram Saringer
See Also:
StylesheetCache

Method Summary
 java.io.InputStream get(java.lang.String identifier)
          Get the stylesheet associated with identifier.
 long getTimestamp(java.lang.String identifier)
           
 void init(javax.servlet.ServletContext context)
          Initialize storage medium.
 

Method Detail

init

public void init(javax.servlet.ServletContext context)
Initialize storage medium.

get

public java.io.InputStream get(java.lang.String identifier)
                        throws java.io.IOException
Get the stylesheet associated with identifier.
Parameters:
identifier - The identifier.
Throws:
-  

getTimestamp

public long getTimestamp(java.lang.String identifier)
                  throws java.io.IOException