public class XStreamFileProcessor extends AbstractFileProcessor
开发人员: renhui
开发时间: 2013-11-20
applicationConfig, caches, changeList, componentConfig, deleteList, fileObjects, fileResolver, LOGGERDEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
XStreamFileProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkMatch(FileObject fileObject) |
int |
getOrder()
Return the order value of this object, with a
higher value meaning greater in terms of sorting.
|
String |
getXstreamFileExtension() |
void |
process()
对文件进行处理
|
void |
setFileResolver(FileResolver fileResolver)
设置文件搜索器
|
void |
setXstreamFileExtension(String xstreamFileExtension) |
add, clean, config, convertFromXml, delete, getApplicationConfig, getApplicationNodePath, getComponentConfig, getComponentConfigPath, getFileResolver, isMatch, modify, noChange, supportRefreshpublic String getXstreamFileExtension()
public void setXstreamFileExtension(String xstreamFileExtension)
protected boolean checkMatch(FileObject fileObject)
checkMatch in class AbstractFileProcessorpublic void process()
FileProcessorpublic void setFileResolver(FileResolver fileResolver)
FileProcessorsetFileResolver in interface FileProcessorsetFileResolver in class AbstractFileProcessorfileResolver - 文件搜索器public int getOrder()
OrderedNormally starting with 0 or 1, with Ordered.LOWEST_PRECEDENCE
indicating greatest. Same order values will result in arbitrary
positions for the affected objects.
Higher value can be interpreted as lower priority, consequently the first object has highest priority (somewhat analogous to Servlet "load-on-startup" values).
Note that order values below 0 are reserved for framework purposes. Application-specified values should always be 0 or greater, with only framework components (internal or third-party) supposed to use lower values.
getOrder in interface OrderedgetOrder in class AbstractFileProcessorOrdered.LOWEST_PRECEDENCECopyright © 2006–2018 TinyGroup. All rights reserved.