com.beust.jcommander.converters
Class FileConverter

java.lang.Object
  extended by com.beust.jcommander.converters.FileConverter
All Implemented Interfaces:
IStringConverter<File>

public class FileConverter
extends Object
implements IStringConverter<File>

Convert a string into a file.

Author:
cbeust

Constructor Summary
FileConverter()
           
 
Method Summary
 File convert(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileConverter

public FileConverter()
Method Detail

convert

public File convert(String value)
Specified by:
convert in interface IStringConverter<File>
Returns:
an object of type created from the parameter value.


Copyright © 2012. All Rights Reserved.