Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package bpiwowar.argparser.handlers;
 
 import java.io.File;
 

Author(s):
bpiwowar
public class FileHandler extends GenericObjectsHandler {
	public FileHandler(Object objectField field) {
		super(objectfield);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see yrla.argparser.holders.Holder#scan(yrla.argparser.StringScanner)
	 */
	public Object process(ArgParser argParserStringScanner scanner)
		final File s = new File(scanner.scanString());
		check(s);
		return s;
	}
New to GrepCode? Check out our FAQ X