org.springframework.roo.shell.converters
Class FileConverter
java.lang.Object
org.springframework.roo.shell.converters.FileConverter
- All Implemented Interfaces:
- Converter
@Service
public class FileConverter
- extends Object
- implements Converter
Converter
for File
.
- Since:
- 1.0
- Author:
- Stefan Schmidt, Roman Kuzmik, Ben Alex
Method Summary |
Object |
convertFromText(String value,
Class<?> requiredType,
String optionContext)
|
boolean |
getAllPossibleValues(List<String> completions,
Class<?> requiredType,
String originalUserInput,
String optionContext,
MethodTarget target)
|
protected void |
populate(List<String> completions,
String adjustedUserInput,
String originalUserInput,
String directoryData)
|
boolean |
supports(Class<?> requiredType,
String optionContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileConverter
public FileConverter()
convertFromText
public Object convertFromText(String value,
Class<?> requiredType,
String optionContext)
- Specified by:
convertFromText
in interface Converter
getAllPossibleValues
public boolean getAllPossibleValues(List<String> completions,
Class<?> requiredType,
String originalUserInput,
String optionContext,
MethodTarget target)
- Specified by:
getAllPossibleValues
in interface Converter
populate
protected void populate(List<String> completions,
String adjustedUserInput,
String originalUserInput,
String directoryData)
supports
public boolean supports(Class<?> requiredType,
String optionContext)
- Specified by:
supports
in interface Converter
Copyright © 2009-2010 VMware, Inc. All Rights Reserved.