org.cip4.jdflib.elementwalker
Class URLMapper
java.lang.Object
org.cip4.jdflib.elementwalker.ElementWalker
org.cip4.jdflib.elementwalker.BaseElementWalker
org.cip4.jdflib.elementwalker.URLMapper
- All Implemented Interfaces:
- IElementConverter
public class URLMapper
- extends BaseElementWalker
- implements IElementConverter
- Author:
- Rainer Prosi, Heidelberger Druckmaschinen
walker that extracts all URLs and dumps them to a directory
URLS are modified to reflect the new location
|
Nested Class Summary |
class |
URLMapper.WalkElement
the URL walker |
class |
URLMapper.WalkURL
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes |
URLMapper
public URLMapper(String baseIn,
String baseOut)
- Parameters:
baseIn - the input (to be modified) base urlbaseOut - the output base url
getFactory
protected BaseWalkerFactory getFactory()
- Overrides:
getFactory in class BaseElementWalker
- Returns:
- the factory for this worker
convert
public KElement convert(KElement e)
- Description copied from interface:
IElementConverter
- generic converter that converts an element
- Specified by:
convert in interface IElementConverter
- Parameters:
e - the element to convert
- Returns:
- the converted element
- See Also:
IElementConverter.convert(org.cip4.jdflib.core.KElement)
Copyright © 2013. All Rights Reserved.