| 限定符和类型 | 字段和说明 |
|---|---|
protected static java.lang.String[] |
supportArray |
protected static java.lang.String[] |
supportArrayExtend |
protected static java.util.Set<java.lang.String> |
supports |
| 构造器和说明 |
|---|
DefaultConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
allowTrans(Attachment attachment)
是否能够转换。
|
boolean |
allowTrans(V3XFile file)
是否能够转换。
|
java.util.List<java.lang.String> |
allowTransTypes() |
protected static boolean |
checkSize(Attachment attachment) |
protected static boolean |
checkSize(V3XFile attachment) |
protected static boolean |
checkType(int type) |
static java.util.Set<java.lang.String> |
getSupports() |
boolean |
isAvailable()
服务是否可用。
|
boolean |
isPreConvert()
是否进行预转换。
|
boolean |
isSupport(java.lang.String extension)
是否组件支持的Office文件类型。
|
protected static java.lang.String[] supportArray
protected static java.lang.String[] supportArrayExtend
protected static java.util.Set<java.lang.String> supports
public static java.util.Set<java.lang.String> getSupports()
public boolean allowTrans(Attachment attachment)
ConfigallowTrans 在接口中 Configpublic boolean isAvailable()
ConfigisAvailable 在接口中 Configpublic boolean isPreConvert()
ConfigisPreConvert 在接口中 Configpublic boolean isSupport(java.lang.String extension)
public java.util.List<java.lang.String> allowTransTypes()
allowTransTypes 在接口中 Configpublic boolean allowTrans(V3XFile file)
ConfigallowTrans 在接口中 Configprotected static boolean checkSize(Attachment attachment)
protected static boolean checkSize(V3XFile attachment)
protected static boolean checkType(int type)