org.vafer.dependency.resources
Interface ResourceHandler

All Known Implementing Classes:
DefaultResourceHandler

public interface ResourceHandler


Method Summary
 InputStream onResource(Jar pJar, String oldName, String newName, Version[] versions, InputStream inputStream)
           
 void onStartJar(Jar pJar, JarOutputStream pOutput)
           
 void onStartProcessing(JarOutputStream pOutput)
           
 void onStopJar(Jar pJar, JarOutputStream pOutput)
           
 void onStopProcessing(JarOutputStream pOutput)
           
 

Method Detail

onStartProcessing

void onStartProcessing(JarOutputStream pOutput)
                       throws IOException
Throws:
IOException

onStartJar

void onStartJar(Jar pJar,
                JarOutputStream pOutput)
                throws IOException
Throws:
IOException

onResource

InputStream onResource(Jar pJar,
                       String oldName,
                       String newName,
                       Version[] versions,
                       InputStream inputStream)
                       throws IOException
Throws:
IOException

onStopJar

void onStopJar(Jar pJar,
               JarOutputStream pOutput)
               throws IOException
Throws:
IOException

onStopProcessing

void onStopProcessing(JarOutputStream pOutput)
                      throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.