sustain/src/main/java/net/happyonroad/component/core/ComponentResource.java
public boolean contains(String path) {
        if( isIndexed() ){
            return Arrays.binarySearch(indexes, path) >= 0;
        }else{
            return getLocalResourceUnder(path) != null;
        }
    }
public boolean contains(String path) {
        if( isIndexed() ){
            return Arrays.binarySearch(indexes, path) >= 0;
        }else{
            return getLocalResourceUnder(path) != null;
        }
    }
根据index信息，判断本组件包是否包含特点文件
@param path 资源的路径
@return 是否存在