public class FileType extends AbstractType<FileType> implements DataType, Converter<String>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
FileType.BodyType |
| 构造器和说明 |
|---|
FileType() |
| 限定符和类型 | 方法和说明 |
|---|---|
FileType |
bodyType(FileType.BodyType type) |
String |
convert(Object value) |
String |
format(Object value)
对值进行格式化
|
String |
getId()
唯一标识别
|
String |
getName()
名称
|
ValidateResult |
validate(Object value)
验证是否合法
|
description, expand, expand, expand, expandsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpands, getTypegetDescription, getExpand, setDescription, setExpands, setNamepublic FileType bodyType(FileType.BodyType type)
public ValidateResult validate(Object value)
DataTypepublic String format(Object value)
FormatSupportformat 在接口中 FormatSupportvalue - 值Copyright © 2019–2022. All rights reserved.