ShrinkWrap Resolver API 2.0.0-alpha-3

org.jboss.shrinkwrap.resolver.api.formatprocessor
Interface FormatProcessor<RETURNTYPE>

Type Parameters:
RETURNTYPE - Desired format to be returned from the File input in process(File)
All Known Implementing Classes:
FileFormatProcessor, InputStreamFormatProcessor

public interface FormatProcessor<RETURNTYPE>

Processes an input File and returns as a typed format

Author:
Andrew Lee Rubinger

Method Summary
 RETURNTYPE process(File input)
          Processes the specified File and returns as the typed return value.
 

Method Detail

process

RETURNTYPE process(File input)
                   throws IllegalArgumentException
Processes the specified File and returns as the typed return value.

Parameters:
input -
Returns:
Throws:
IllegalArgumentException - If the File argument is not specified, does not exist, or points to a directory

ShrinkWrap Resolver API 2.0.0-alpha-3

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