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 class
SourceMapSourceFactory.SourceMapSource
The Source of a source map
-
Field Summary
Fields Modifier and Type Field Description static String
CONTENT
Parameter contentstatic String
LAST_MODIFIED
Parameter last modifiedstatic String
SCHEME
Declared 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 Source
getSource(String location, Map parameters)
void
release(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:
getSource
in interfaceSourceFactory
- Throws:
IOException
MalformedURLException
-
release
public void release(Source source)
- Specified by:
release
in interfaceSourceFactory
-
-