类 ApplicationTemp
- java.lang.Object
- org.springframework.boot.system.ApplicationTemp
public class ApplicationTemp extends Object
Provides access to an application specific temporary directory. Generally speaking different Spring Boot applications will get different locations, however, simply restarting an application will give the same location.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 ApplicationTemp()
Create a newApplicationTemp
instance.ApplicationTemp(Class<?> sourceClass)
Create a newApplicationTemp
instance for the specified source class.
构造器详细资料
ApplicationTemp
public ApplicationTemp()
Create a newApplicationTemp
instance.
ApplicationTemp
public ApplicationTemp(Class<?> sourceClass)
Create a newApplicationTemp
instance for the specified source class.- 参数:
sourceClass
- the source class ornull