org.schmant.arg
Class AbstractReadableFileArgumentInterpretationStrategy<T>

java.lang.Object
  extended by org.schmant.arg.AbstractArgumentInterpretationStrategy<T>
      extended by org.schmant.arg.AbstractOneToOneArgumentInterpretationStrategy<T>
          extended by org.schmant.arg.AbstractReadableFileArgumentInterpretationStrategy<T>
All Implemented Interfaces:
ArgumentInterpretationStrategy<T>
Direct Known Subclasses:
InterpretAsNamedReadableFileStrategy, InterpretAsReadableFileStrategy

public abstract class AbstractReadableFileArgumentInterpretationStrategy<T>
extends AbstractOneToOneArgumentInterpretationStrategy<T>

Since:
1.0
Author:
Karl Gustafsson

Field Summary
 
Fields inherited from interface org.schmant.arg.ArgumentInterpretationStrategy
ALLOW_NOT_INTERPRETED, ALLOW_ONE_AND_ONLY_ONE_RESULT_OBJECT
 
Constructor Summary
protected AbstractReadableFileArgumentInterpretationStrategy(int... configuration)
           
 
Method Summary
protected  NamedReadableFile getNamedReadableFileInternal(Object o, List<String> t)
           
protected  ReadableFile getReadableFileInternal(Object o, List<String> t)
           
 
Methods inherited from class org.schmant.arg.AbstractOneToOneArgumentInterpretationStrategy
interpretList, interpretObject
 
Methods inherited from class org.schmant.arg.AbstractArgumentInterpretationStrategy
checkConfiguration, convertBackslashesToSlashes, getExistingFileFromCharSequence, getParentFile, getTargetType, trace, validateResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReadableFileArgumentInterpretationStrategy

protected AbstractReadableFileArgumentInterpretationStrategy(int... configuration)
Method Detail

getReadableFileInternal

protected ReadableFile getReadableFileInternal(Object o,
                                               List<String> t)

getNamedReadableFileInternal

protected NamedReadableFile getNamedReadableFileInternal(Object o,
                                                         List<String> t)