org.vafer.jdeb.mapping
Class LsMapper

java.lang.Object
  extended by org.vafer.jdeb.mapping.LsMapper
All Implemented Interfaces:
Mapper

public final class LsMapper
extends Object
implements Mapper

Reads permissions and ownerships from a "ls -laR > mapping.txt" dump and maps entries accordingly.

Author:
Torsten Curdt

Nested Class Summary
static class LsMapper.ParseError
           
 
Constructor Summary
LsMapper(InputStream pInput)
           
 
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
 

Constructor Detail

LsMapper

public LsMapper(InputStream pInput)
         throws IOException,
                LsMapper.ParseError
Throws:
IOException
LsMapper.ParseError
Method Detail

map

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


Copyright © 2012. All Rights Reserved.