org.vafer.jdeb.mapping
Class PrefixMapper

java.lang.Object
  extended by org.vafer.jdeb.mapping.PrefixMapper
All Implemented Interfaces:
Mapper
Direct Known Subclasses:
PermMapper

public class PrefixMapper
extends Object
implements Mapper

Just adds a prefix to the entry coming in

Author:
Torsten Curdt

Field Summary
protected  String prefix
           
protected  int strip
           
 
Constructor Summary
PrefixMapper(int pStrip, String pPrefix)
           
 
Method Summary
 org.apache.tools.tar.TarEntry map(org.apache.tools.tar.TarEntry pEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strip

protected final int strip

prefix

protected final String prefix
Constructor Detail

PrefixMapper

public PrefixMapper(int pStrip,
                    String pPrefix)
Method Detail

map

public org.apache.tools.tar.TarEntry map(org.apache.tools.tar.TarEntry pEntry)
Specified by:
map in interface Mapper


Copyright © 2010. All Rights Reserved.