ShrinkWrap Resolver Maven Archive API 2.0.0-alpha-3

org.jboss.shrinkwrap.resolver.api.maven.archive
Class ArchiveFormatProcessor<ARCHIVETYPE extends org.jboss.shrinkwrap.api.Archive<ARCHIVETYPE>>

java.lang.Object
  extended by org.jboss.shrinkwrap.resolver.api.maven.archive.ArchiveFormatProcessor<ARCHIVETYPE>
All Implemented Interfaces:
FormatProcessor<ARCHIVETYPE>

public final class ArchiveFormatProcessor<ARCHIVETYPE extends org.jboss.shrinkwrap.api.Archive<ARCHIVETYPE>>
extends Object
implements FormatProcessor<ARCHIVETYPE>

FormatProcessor implementation to return an artifact as a ShrinkWrap Archive

Author:
Andrew Lee Rubinger

Constructor Summary
ArchiveFormatProcessor(Class<ARCHIVETYPE> clazz)
          Creates a new instance capable of processing the input File as the specified Class type
 
Method Summary
 ARCHIVETYPE process(File input)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveFormatProcessor

public ArchiveFormatProcessor(Class<ARCHIVETYPE> clazz)
                       throws IllegalArgumentException
Creates a new instance capable of processing the input File as the specified Class type

Parameters:
clazz -
Throws:
IllegalArgumentException - If the class type is not specified
Method Detail

process

public ARCHIVETYPE process(File input)
                                                                          throws IllegalArgumentException

Specified by:
process in interface FormatProcessor<ARCHIVETYPE extends org.jboss.shrinkwrap.api.Archive<ARCHIVETYPE>>
Throws:
IllegalArgumentException
See Also:
FormatProcessor.process(java.io.File)

ShrinkWrap Resolver Maven Archive API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.