Package org.ametys.core.minimize
Class SourceMapSourceFactory
- java.lang.Object
-
- org.ametys.core.minimize.SourceMapSourceFactory
-
- All Implemented Interfaces:
Component,SourceFactory
public class SourceMapSourceFactory extends Object implements SourceFactory
Fake factory for SourceMapCache
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSourceMapSourceFactory.SourceMapSourceThe Source of a source map
-
Field Summary
Fields Modifier and Type Field Description static StringCONTENTParameter contentstatic StringLAST_MODIFIEDParameter last modifiedstatic StringSCHEMEDeclared protocol-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description SourceMapSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourcegetSource(String location, Map parameters)voidrelease(Source source)
-
-
-
Field Detail
-
LAST_MODIFIED
public static final String LAST_MODIFIED
Parameter last modified- See Also:
- Constant Field Values
-
CONTENT
public static final String CONTENT
Parameter content- See Also:
- Constant Field Values
-
SCHEME
public static final String SCHEME
Declared protocol- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SourceMapSourceFactory
public SourceMapSourceFactory()
-
-
Method Detail
-
getSource
public Source getSource(String location, Map parameters) throws IOException, MalformedURLException
- Specified by:
getSourcein interfaceSourceFactory- Throws:
IOExceptionMalformedURLException
-
release
public void release(Source source)
- Specified by:
releasein interfaceSourceFactory
-
-