类 FileProperties
java.lang.Object
com.iplatform.base.config.FileProperties
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean调用远程上传文件,是否按照本地方式处理。voidsetFileRoot(String fileRoot) voidsetRemoteAsLocal(boolean remoteAsLocal)
-
构造器详细资料
-
FileProperties
public FileProperties()
-
-
方法详细资料
-
getFileRoot
-
setFileRoot
-
isRemoteAsLocal
public boolean isRemoteAsLocal()调用远程上传文件,是否按照本地方式处理。1)该选项为了适应没有FTP等服务的情况,特别是在开发过程,如果设置为:true 则调用远程上传方法后文件仍然保存在本地。 2)如果生产环境存在合适的文件存储服务,则需要设置为:false- 返回:
-
setRemoteAsLocal
public void setRemoteAsLocal(boolean remoteAsLocal)
-