public static class FileListConverters.StringToFileArrayConverter extends AbstractConverter<String,File[]>
| Constructor and Description |
|---|
StringToFileArrayConverter() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convert(Object src,
Class<T> dest)
Converts the given object to an object of the specified type.
|
Class<String> |
getInputType() |
Class<File[]> |
getOutputType() |
canConvert, canConvert, canConvert, canConvert, canConvert, convert, convert, getType, populateInputCandidates, supportsgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic <T> T convert(Object src, Class<T> dest)
ConverterString, which uses the
Object.toString() method instead). In the case of primitive types,
returns an object of the corresponding wrapped type. If the destination
type does not have an appropriate constructor, returns null.T - Type to which the object should be converted.src - The object to convert.dest - Type to which the object should be converted.public Class<File[]> getOutputType()
Class this Converter produces as output.Copyright © 2015–2022 SciJava. All rights reserved.